/* Print-on-Demand Calculator Styles */
.pod-calculator-wrapper {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    max-width: 1200px;
    margin: 0 auto;
    color: #333;
    line-height: 1.6;
}

.pod-calculator-grid {
    display: grid;
    grid-template-columns: 1fr 380px;
    gap: 40px;
    align-items: start;
}

/* Left Column - Specifications */
.pod-specs {
    background: #fff;
    padding: 30px;
    border-radius: 8px;
}

.pod-specs h2 {
    color: #2c5f7c;
    font-size: 24px;
    margin-bottom: 25px;
    font-weight: 600;
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    font-weight: 500;
    margin-bottom: 10px;
    color: #444;
    font-size: 15px;
}

/* Radio Cards */
.radio-group {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
}

.radio-group.flex-row {
    grid-template-columns: repeat(3, 1fr);
}

.radio-card {
    border: 2px solid #e1e4e8;
    border-radius: 6px;
    padding: 15px 10px;
    text-align: center;
    cursor: pointer;
    transition: all 0.2s ease;
    background: #f8f9fa;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.radio-card:hover {
    border-color: #4a90b8;
    background: #f0f7fb;
}

.radio-card.active {
    border-color: #4a90b8;
    background: #ebf5fb;
    color: #2980b9;
    font-weight: 600;
}

.radio-card .icon {
    font-size: 24px;
    line-height: 1;
}

/* Select Dropdowns */
.custom-select {
    position: relative;
}

.custom-select select {
    width: 100%;
    padding: 12px 40px 12px 15px;
    border: 2px solid #ddd;
    border-radius: 6px;
    background: #fff;
    font-size: 15px;
    appearance: none;
    cursor: pointer;
}

.custom-select:after {
    content: '▼';
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: #666;
    pointer-events: none;
    font-size: 12px;
}

/* Number Input */
input[type="number"] {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #ddd;
    border-radius: 6px;
    font-size: 15px;
    font-family: inherit;
}

input[type="number"]:focus {
    outline: none;
    border-color: #4a90b8;
}

.hint {
    display: block;
    color: #888;
    font-size: 13px;
    margin-top: 6px;
}

.error-msg {
    color: #e74c3c;
    font-size: 13px;
    margin-top: 6px;
    padding: 6px 10px;
    background: #fdf2f2;
    border-radius: 4px;
    border-left: 3px solid #e74c3c;
}

/* Right Column - Costs */
.pod-costs {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.cost-card {
    background: #fff;
    border: 1px solid #e1e4e8;
    border-radius: 8px;
    padding: 25px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.cost-card.sticky {
    position: sticky;
    top: 20px;
}

.cost-card h2 {
    color: #2c5f7c;
    font-size: 20px;
    margin-bottom: 20px;
    font-weight: 600;
}

.cost-line {
    display: flex;
    justify-content: space-between;
    padding: 12px 0;
    border-bottom: 1px solid #eee;
    font-size: 15px;
}

.cost-per-copy {
    display: flex;
    justify-content: space-between;
    padding: 20px 0;
    margin-top: 10px;
    background: #e8f4fc;
    margin: 15px -25px;
    padding: 15px 25px;
    font-weight: 600;
    color: #2980b9;
}

.total-box {
    display: flex;
    justify-content: space-between;
    background: #1e4a5f;
    color: #fff;
    margin: 20px -25px -25px;
    padding: 20px 25px;
    font-size: 18px;
    font-weight: 600;
    border-radius: 0 0 8px 8px;
}

.amount {
    font-weight: 600;
    color: #2c3e50;
}

.amount.highlight {
    color: #2980b9;
    font-size: 18px;
}

.amount.total {
    color: #fff;
    font-size: 22px;
}

/* Action Buttons */
.action-card {
    background: #fff;
    border: 1px solid #e1e4e8;
    border-radius: 8px;
    padding: 25px;
}

.btn-primary {
    width: 100%;
    padding: 15px;
    background: #4a90b8;
    color: #fff;
    border: none;
    border-radius: 6px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-bottom: 15px;
    transition: background 0.2s;
}

.btn-primary:hover {
    background: #357a9e;
}

.btn-group {
    display: flex;
    margin-bottom: 20px;
}

.btn-secondary {
    width: 100%;
    padding: 12px;
    background: #fff;
    color: #4a90b8;
    border: 2px solid #4a90b8;
    border-radius: 6px;
    font-size: 14px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    transition: all 0.2s;
}

.btn-secondary:hover {
    background: #f0f7fb;
    color: #4a90b8;
}

.disclaimer {
    font-size: 12px;
    color: #888;
    line-height: 1.5;
    margin: 0;
}

/* Responsive */
@media (max-width: 968px) {
    .pod-calculator-grid {
        grid-template-columns: 1fr;
    }
    
    .radio-group {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .cost-card.sticky {
        position: relative;
        top: 0;
    }
}

@media (max-width: 480px) {
    .radio-group,
    .radio-group.flex-row {
        grid-template-columns: 1fr;
    }
    
    .btn-group {
        grid-template-columns: 1fr;
    }
}