@import url('https://fonts.googleapis.com/css2?family=Raleway:wght@400;500;600;700;800&display=swap');

.dc-container {
    max-width: 800px;
    margin: 40px auto;
    font-family: 'Raleway', sans-serif;
    color: #333;
    padding: 50px 40px;
    box-sizing: border-box;
    background: #ffffff;
    border-radius: 24px;
    box-shadow: 0 20px 50px rgba(52, 91, 40, 0.08);
}

.dc-container * {
    box-sizing: border-box;
}

.dc-title {
    text-align: center;
    color: #345b28;
    font-size: 1.6rem;
    font-weight: 800;
    margin-bottom: 10px;
}

.dc-subtitle {
    text-align: center;
    color: #666;
    font-size: 1.1rem;
    margin-bottom: 35px;
}

.dc-asterisk {
    color: #f07f3d;
}

/* Donor Type Selector */
.dc-type-selector {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 30px;
}

.dc-type-btn {
    background-color: transparent;
    border: 2px solid #FEF7F4;
    color: #345b28;
    padding: 12px 30px;
    border-radius: 30px;
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.dc-type-btn.active, .dc-type-btn:hover {
    background-color: #345b28;
    border-color: #345b28;
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 8px 15px rgba(52, 91, 40, 0.15);
}

/* Input Group */
.dc-input-group {
    display: flex;
    justify-content: center;
    align-items: flex-end;
    margin-bottom: 30px;
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
    padding-bottom: 10px;
    border-bottom: 3px solid #FEF7F4;
    transition: border-color 0.3s ease;
}

.dc-input-group:focus-within {
    border-color: #f07f3d;
}

.dc-amount-input {
    width: 60%;
    font-size: 3.5rem;
    font-weight: 800;
    color: #345b28;
    text-align: center;
    border: none;
    background: transparent;
    outline: none;
    padding: 0;
}

.dc-amount-input::placeholder {
    color: #ccc;
}

.dc-currency {
    font-size: 2.5rem;
    margin-left: 10px;
    font-weight: 800;
    color: #f07f3d;
    line-height: 1;
    margin-bottom: 10px;
}

/* Frequency Group */
.dc-label-frecuencia {
    text-align: center;
    color: #345b28;
    font-size: 1.1rem;
    font-weight: 800;
    margin-bottom: 15px;
}

.dc-frequency-group {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
    margin-bottom: 40px;
}

.dc-freq-btn {
    background-color: #ffffff;
    border: 2px solid #FEF7F4;
    color: #345b28;
    padding: 10px 20px;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
}

.dc-freq-btn.active {
    background-color: #FEF7F4;
    color: #345b28;
    border-color: #FEF7F4;
}

.dc-freq-btn:hover:not(.active) {
    border-color: #345b28;
}

/* Results Panel */
.dc-results-panel {
    background: linear-gradient(145deg, #ffffff 0%, #FEF7F4 100%);
    padding: 40px 30px;
    text-align: center;
    border-radius: 20px;
    box-shadow: inset 0 2px 5px rgba(255,255,255,0.5);
    animation: fadeIn 0.4s ease-out;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.dc-result-row {
    font-size: 1.4rem;
    margin-bottom: 30px;
    color: #345b28;
}

.dc-result-row.dc-bold {
    font-weight: 800;
}

.dc-result-block {
    margin-bottom: 30px;
    background: rgba(255,255,255,0.4);
    padding: 20px;
    border-radius: 16px;
}

.dc-result-label-large {
    color: #f07f3d;
    font-size: 1.2rem;
    font-weight: 800;
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.dc-result-value-large {
    color: #345b28;
    font-size: 2.8rem;
    font-weight: 800;
}

.dc-disclaimer {
    color: #6a7c64;
    font-size: 0.85rem;
    margin-top: 30px;
    line-height: 1.6;
    max-width: 90%;
    margin-left: auto;
    margin-right: auto;
}

@media (max-width: 600px) {
    .dc-frequency-group {
        flex-direction: column;
        align-items: stretch;
    }
    .dc-freq-btn {
        width: 100%;
    }
    .dc-amount-input {
        font-size: 2.5rem;
    }
    .dc-result-value-large {
        font-size: 2.2rem;
    }
}
