/**
 * SCG Public Styles
 */

.scg-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

.scg-card {
    border: 2px solid var(--scg-primary, #2d5016);
    border-radius: 16px;
    padding: 30px;
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    box-shadow: 0 10px 40px rgba(0,0,0,0.1);
}

.scg-header {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
}

.scg-image {
    width: 150px;
    height: 150px;
    object-fit: cover;
    border-radius: 12px;
    flex-shrink: 0;
}

.scg-title {
    margin: 0 0 10px 0;
    color: var(--scg-primary, #2d5016);
    font-size: 24px;
}

.scg-description {
    color: #555;
    line-height: 1.6;
}

.scg-pricing {
    display: flex;
    gap: 15px;
    margin: 20px 0;
    flex-wrap: wrap;
}

.scg-price-box {
    flex: 1;
    min-width: 140px;
    padding: 15px;
    border-radius: 10px;
    text-align: center;
}

.scg-price-regular {
    background: #f0f0f0;
}

.scg-price-regular .scg-price-value {
    text-decoration: line-through;
    color: #999;
}

.scg-price-grupal {
    background: linear-gradient(135deg, var(--scg-primary, #2d5016), #4a7c1f);
    color: white;
}

.scg-price-label {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 5px;
}

.scg-price-value {
    font-size: 28px;
    font-weight: bold;
}

.scg-progress {
    margin: 25px 0;
}

.scg-progress-bar {
    height: 12px;
    background: #e0e0e0;
    border-radius: 6px;
    overflow: hidden;
}

.scg-progress-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--scg-primary, #2d5016), #5a9a25);
    border-radius: 6px;
    transition: width 0.5s ease;
}

.scg-progress-text {
    text-align: center;
    margin-top: 10px;
    color: #666;
    font-size: 14px;
}

.scg-btn {
    display: block;
    width: 100%;
    padding: 18px 30px;
    background: var(--scg-primary, #2d5016);
    color: white;
    border: none;
    border-radius: 10px;
    font-size: 18px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.scg-btn:hover {
    background: var(--scg-primary-hover, #3d6a1f);
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}

.scg-btn:disabled {
    background: #ccc;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.scg-btn-toggle {
    background: var(--scg-toggle, #28a745);
}

.scg-btn-toggle:hover {
    background: var(--scg-toggle-hover, #218838);
}

.scg-terms-wrapper {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin: 15px 0;
    padding: 12px;
    background: #f8f9fa;
    border-radius: 8px;
}

.scg-terms-wrapper input[type="checkbox"] {
    margin-top: 3px;
    width: 18px;
    height: 18px;
    cursor: pointer;
}

.scg-terms-wrapper label {
    font-size: 14px;
    color: #555;
    cursor: pointer;
}

.scg-terms-wrapper a {
    color: var(--scg-primary, #2d5016);
    text-decoration: underline;
}

.scg-form {
    display: none;
    margin-top: 25px;
    padding: 25px;
    background: white;
    border-radius: 12px;
    border: 1px solid #e0e0e0;
}

.scg-form h3 {
    margin: 0 0 20px 0;
    color: var(--scg-primary, #2d5016);
}

.scg-input {
    width: 100%;
    padding: 14px 16px;
    margin: 8px 0;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 16px;
    box-sizing: border-box;
    transition: border-color 0.3s;
}

.scg-input:focus {
    border-color: var(--scg-primary, #2d5016);
    outline: none;
}

.scg-success {
    background: linear-gradient(135deg, #d4edda 0%, #c3e6cb 100%);
    border: 2px solid #28a745;
    color: #155724;
    padding: 25px;
    border-radius: 12px;
    margin-top: 25px;
    text-align: center;
    font-size: 18px;
}

.scg-countdown {
    text-align: center;
    padding: 15px;
    background: linear-gradient(135deg, #fff3cd 0%, #ffeeba 100%);
    border-radius: 10px;
    margin-bottom: 20px;
    font-weight: 500;
}

.scg-badge {
    display: inline-block;
    background: var(--scg-primary, #2d5016);
    color: white;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    margin-bottom: 10px;
}

.scg-cancel-preference {
    margin: 15px 0;
    padding: 15px;
    background: #f0f7ff;
    border-radius: 8px;
    border: 1px solid #b8daff;
}

.scg-cancel-preference p {
    margin: 0 0 10px;
    font-weight: 500;
    color: #004085;
}

.scg-cancel-preference label {
    display: block;
    margin: 8px 0;
    cursor: pointer;
}

.scg-cancel-preference input[type="radio"] {
    margin-right: 8px;
}

/* Responsive */
@media (max-width: 600px) {
    .scg-container {
        padding: 10px;
    }
    
    .scg-card {
        padding: 20px;
    }
    
    .scg-header {
        flex-direction: column;
        text-align: center;
    }
    
    .scg-image {
        width: 100%;
        height: 200px;
        margin: 0 auto;
    }
    
    .scg-pricing {
        flex-direction: column;
    }
    
    .scg-price-value {
        font-size: 24px;
    }
    
    .scg-btn {
        padding: 15px 20px;
        font-size: 16px;
    }
}
