﻿/* ===== sign-up.css - đồng bộ với sign-in (xanh ngọc – trắng – bạc) ===== */

/* ---- Page background ---- */
body.login-page {
    min-height: 100vh;
    padding: 40px 0;
    background: linear-gradient(180deg, rgba(2,125,130,0.12), rgba(255,255,255,0));
    font-family: "Segoe UI", sans-serif !important;
}

/* ---- Card: glass nhẹ giống sign-in ---- */
.card.card-outline.card-primary {
    width: 980px;
    margin: 0 auto;
    border-radius: 20px;
    background: rgba(255,255,255,0.95);
    border: 1px solid rgba(2,125,130,0.25);
    box-shadow: 0 20px 45px rgba(2,125,130,0.18);
    overflow: hidden;
}

/* ---- header/logo ---- */
.card-header {
    background: linear-gradient(180deg, rgba(2,125,130,0.12), rgba(255,255,255,0)) !important;
    border-bottom: 1px solid rgba(2,125,130,0.25) !important;
    padding: 26px 0 12px 0;
    text-align: center;
}

    .card-header img {
        width: 88px;
        height: 88px;
        padding: 10px;
        background: #ffffff;
        border-radius: 50%;
        object-fit: contain;
        border: 1px solid rgba(2,125,130,0.35);
        box-shadow: 0 8px 22px rgba(2,125,130,0.25);
    }

/* ---- body spacing ---- */
.card-body.login-card-body {
    padding: 28px 42px 38px;
    color: #083f42;
}

/* ---- labels ---- */
.card-body label.form-label {
    color: #083f42;
    font-weight: 600;
}

.card-body label .text-danger {
    color: #dc3545 !important;
}

/* ===== INPUT STYLE – ĐỒNG BỘ SIGN-IN ===== */

.card-body .form-control,
.card-body .form-select {
    height: 44px;
    border-radius: 8px !important;
    border: 1px solid rgba(2,125,130,0.35) !important;
    background: #ffffff !important;
    padding: 0 12px !important;
    color: #083f42 !important;
    font-size: 14px;
    transition: .15s ease;
}

    .card-body .form-control::placeholder {
        color: #9aaeb0 !important;
    }

    .card-body .form-control:hover,
    .card-body .form-select:hover {
        border-color: rgba(2,125,130,0.55) !important;
    }

    /* Focus giống sign-in */
    .card-body .form-control:focus,
    .card-body .form-select:focus {
        border: 1px solid #027d82 !important;
        box-shadow: 0 0 0 2px rgba(2,125,130,0.25) !important;
        background: #ffffff !important;
    }

/* ===== Select2 ===== */
.select2-container--default .select2-selection--single {
    height: 44px;
    border-radius: 8px !important;
    border: 1px solid rgba(2,125,130,0.35) !important;
    background: #ffffff !important;
    padding-left: 6px;
}

.select2-selection__rendered {
    line-height: 44px !important;
    color: #083f42 !important;
}

/* ===== Date input ===== */
.date-input {
    background: #ffffff !important;
    color: #083f42 !important;
}

/* ===== ERROR ===== */
input.error, select.error,
.form-control.is-invalid, .form-select.is-invalid {
    border-color: #dc3545 !important;
    box-shadow: 0 0 0 2px rgba(220,53,69,0.18) !important;
}

.invalid-feedback {
    font-size: 12px;
    color: #dc3545 !important;
    margin-top: 2px;
}

/* ===== BUTTONS – ĐỒNG BỘ MÀU CHỦ ĐẠO ===== */

.btn-primary-custom {
    background: linear-gradient(135deg, #027d82, #03989b);
    border: none;
    color: #fff;
    font-weight: 600;
}

    .btn-primary-custom:hover {
        filter: brightness(1.05);
    }

.btn-secondary-custom {
    background: rgba(2,125,130,0.15);
    border: 1px solid rgba(2,125,130,0.4);
    color: #027d82;
    font-weight: 600;
}

    .btn-secondary-custom:hover {
        background: rgba(2,125,130,0.25);
    }
/* =========================
   AUTH HEADER 
========================= */
.custom-auth-header {
    padding: 20px 28px;
    background: linear-gradient(180deg, #f4f9fb, #ffffff);
    border-bottom: 1px solid #dde5ea;
}

/* Gom logo + text thành 1 khối */
.auth-header-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 18px;
}

/* Logo */
.auth-logo {
    height: 58px;
    width: auto;
}

/* Khối text */
.auth-header-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start; /* QUAN TRỌNG */
}

/* Text chính */
.auth-header-text {
    font-size: 20px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    color: #1f2937;
    line-height: 1.2;
    white-space: nowrap;
}

/* Text phụ */
.auth-header-sub {
    margin-top: 4px;
    font-size: 14px;
    color: #6b7280;
}


