.birthday-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 40px 0;
}

.birthday-container {
    width: 100%;
    max-width: 700px;
    background: #ffffff;
    padding: 30px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.birthday-header h2 {
    font-size: 30px;
    text-align: center;
    margin-bottom: 20px;
}

.birthday-row {
    display: flex;
    justify-content: space-between;
}

.birthday-item {
    flex: 1;
    margin: 0 10px;
}

.birthday-item label {
    display: block;
    margin-bottom: 10px;
    font-weight: 500;
}

.birthday-item select {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 16px;
}

.birthday-btn {
    width: 100%;
    background: linear-gradient(90deg, #ff7e5f, #ff5000);
    color: white;
    padding: 15px;
    border: none;
    border-radius: 8px;
    font-size: 18px;
    cursor: pointer;
    margin-top: 20px;
}

.birthday-result {
    text-align: center;
    margin-top: 30px;
}

.birthday-output {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: #fff8f5;
    padding: 20px;
    border: 2px solid #ff5000;
    border-radius: 15px;
    max-width: 500px;
    margin: 20px auto;
}

.birthday-output h3 {
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 10px;
    text-align: center;
}

.birthday-count {
    display: flex;
    justify-content: center;
    align-items: center;
}

.birthday-count .big {
    font-size: 72px;
    font-weight: bold;
    color: #ff5000;
}

.birthday-count .small {
    margin-left: 10px;
    font-size: 20px;
}

/* Адаптивность */
@media (max-width: 768px) {
    .birthday-row {
        flex-direction: column;
    }

    .birthday-btn {
        font-size: 16px;
    }

    .birthday-count .big {
        font-size: 48px;
    }

    .birthday-output h3 {
        font-size: 20px;
        line-height: 1.4;
    }
}
