﻿/* customer-update.css */

.customer-update-container {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    padding: 2rem;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
}

.customer-update-card {
    width: 100%;
    max-width: 650px;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    padding: 2.5rem;
    margin: 2rem;
    position: relative;
    overflow: hidden;
    animation: fadeIn 0.5s ease-out;
}

.customer-update-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: #4361ee;
}

.page-title {
    color: #2b2d42;
    margin-bottom: 2rem;
    font-weight: 700;
    font-size: 1.8rem;
    text-align: center;
    position: relative;
    padding-bottom: 0.5rem;
}

.page-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: #4361ee;
}

.customer-update-form {
    margin-top: 1.5rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: #2b2d42;
}

.gender-options {
    display: flex;
    gap: 1.5rem;
    margin-top: 0.5rem;
}

.form-check-inline {
    display: flex;
    align-items: center;
}

.form-check-input {
    margin-right: 0.5rem;
    accent-color: #4361ee;
}

.form-submit {
    margin-top: 2rem;
    text-align: center;
}

.btn-primary {
    background-color: #4361ee;
    border: none;
    padding: 0.8rem 2.5rem;
    font-weight: 600;
    font-size: 1rem;
    border-radius: 50px;
    color: white;
    cursor: pointer;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background-color: #3a56d4;
    transform: translateY(-3px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

.btn-primary:active {
    transform: translateY(-1px);
}

/* Animation */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Responsive */
@media (max-width: 768px) {
    .customer-update-container {
        padding: 1rem;
    }

    .customer-update-card {
        padding: 1.5rem;
        margin: 1rem;
    }

    .page-title {
        font-size: 1.5rem;
    }

    .gender-options {
        flex-direction: column;
        gap: 0.5rem;
    }
}

@media (max-width: 480px) {
    .customer-update-card {
        padding: 1.2rem;
    }

    .page-title {
        font-size: 1.3rem;
    }

    .btn-primary {
        width: 100%;
        padding: 0.8rem;
    }
}
