html {
  font-size: 14px;
}

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
  box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

html {
  position: relative;
  min-height: 100%;
}

body {
  margin-bottom: 60px;
}

/* GIAO DIEN DANG NHAP SAKURA BEAUTY */
.login-page {
    margin: 0;
    min-height: 100vh;
    font-family: Arial, sans-serif;
    background: linear-gradient(135deg, #fff5f8, #f8dce7);
    display: flex;
    justify-content: center;
    align-items: center;
}

.login-container {
    width: 420px;
    max-width: 90%;
}

.login-brand {
    text-align: center;
    margin-bottom: 25px;
    color: #873b58;
}

.brand-icon {
    width: 65px;
    height: 65px;
    line-height: 65px;
    margin: auto auto 12px;
    border-radius: 50%;
    background: #d982a5;
    color: white;
    font-size: 35px;
    font-weight: bold;
}

.login-brand h1 {
    font-size: 25px;
    letter-spacing: 2px;
    margin-bottom: 8px;
}

.login-brand p {
    font-size: 12px;
    letter-spacing: 1px;
}

.login-card {
    background: white;
    padding: 35px;
    border-radius: 15px;
    box-shadow: 0 8px 30px rgba(135, 59, 88, 0.12);
}

    .login-card h2 {
        color: #873b58;
        text-align: center;
        margin-bottom: 8px;
    }

.login-subtitle {
    text-align: center;
    color: #888;
    margin-bottom: 28px;
}

.form-group {
    margin-bottom: 20px;
}

    .form-group label {
        display: block;
        margin-bottom: 8px;
        color: #555;
        font-weight: bold;
    }

    .form-group input {
        width: 100%;
        box-sizing: border-box;
        padding: 13px;
        border: 1px solid #e5c4d1;
        border-radius: 7px;
        outline: none;
    }

        .form-group input:focus {
            border-color: #d982a5;
        }

.login-button {
    width: 100%;
    padding: 14px;
    border: none;
    border-radius: 7px;
    background: #d982a5;
    color: white;
    font-weight: bold;
    cursor: pointer;
}

    .login-button:hover {
        background: #bd6389;
    }

.login-footer {
    text-align: center;
    color: #999;
    font-size: 12px;
    margin-top: 25px;
}

/* TRANG CHU WEBAPP SAKURA BEAUTY */

.dashboard-page {
    margin: 0;
    min-height: 100vh;
    font-family: Arial, sans-serif;
    background: #fff8fa;
    color: #4f3942;
}

.dashboard-header {
    height: 70px;
    background: white;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 35px;
    box-shadow: 0 2px 10px rgba(135, 59, 88, 0.08);
}

.dashboard-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    color: #873b58;
    font-size: 20px;
    font-weight: bold;
    letter-spacing: 1px;
}

.dashboard-logo-icon {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: #d982a5;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
}

.dashboard-user {
    display: flex;
    align-items: center;
    gap: 20px;
}

.logout-button {
    background: #d982a5;
    color: white;
    border: none;
    padding: 10px 18px;
    border-radius: 6px;
    cursor: pointer;
}

    .logout-button:hover {
        background: #bd6389;
    }

.dashboard-layout {
    display: flex;
    min-height: calc(100vh - 125px);
}

.dashboard-sidebar {
    width: 235px;
    background: white;
    padding: 25px 15px;
    box-sizing: border-box;
}

    .dashboard-sidebar h3 {
        font-size: 12px;
        color: #999;
        padding: 0 12px;
        margin-bottom: 20px;
    }

.menu-item {
    display: block;
    text-decoration: none;
    color: #654b56;
    padding: 14px 12px;
    margin-bottom: 8px;
    border-radius: 7px;
}

    .menu-item span {
        margin-right: 10px;
    }

    .menu-item:hover,
    .menu-item.active {
        background: #fceef3;
        color: #873b58;
    }

.dashboard-content {
    flex: 1;
    padding: 35px;
}

.welcome-section {
    background: linear-gradient(120deg, #f9dce7, #fff0f5);
    padding: 28px;
    border-radius: 12px;
    margin-bottom: 30px;
}

    .welcome-section h1 {
        color: #873b58;
        margin-top: 0;
    }

    .welcome-section p {
        margin-bottom: 0;
        color: #795866;
    }

.section-heading {
    color: #873b58;
    font-size: 19px;
    margin: 28px 0 18px;
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.info-card,
.function-card {
    background: white;
    padding: 22px;
    border-radius: 10px;
    box-shadow: 0 3px 12px rgba(135, 59, 88, 0.06);
}

    .info-card span {
        display: block;
        color: #888;
        font-size: 13px;
        margin-bottom: 10px;
    }

    .info-card strong {
        color: #873b58;
        font-size: 16px;
    }

.function-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.function-icon {
    font-size: 30px;
    color: #d982a5;
}

.function-card h3 {
    color: #873b58;
}

.function-card p {
    color: #777;
    line-height: 1.6;
}

.function-status {
    color: #bd6389;
    font-size: 12px;
    font-weight: bold;
}

.dashboard-footer {
    text-align: center;
    padding: 20px;
    color: #999;
    font-size: 12px;
    background: white;
}

@media (max-width: 768px) {
    .dashboard-header {
        padding: 0 15px;
    }

    .dashboard-sidebar {
        width: 170px;
    }

    .dashboard-content {
        padding: 18px;
    }

    .info-grid,
    .function-grid {
        grid-template-columns: 1fr;
    }
}

/* TRA CUU VA LICH SU LUONG */

.payroll-search-card {
    background: white;
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 3px 12px rgba(135, 59, 88, 0.06);
}

.search-fields {
    display: flex;
    align-items: end;
    gap: 18px;
    flex-wrap: wrap;
}

    .search-fields > div {
        flex: 1;
        min-width: 150px;
    }

    .search-fields label {
        display: block;
        margin-bottom: 9px;
        color: #654b56;
        font-weight: bold;
    }

    .search-fields select {
        width: 100%;
        padding: 12px;
        border: 1px solid #e5c4d1;
        border-radius: 7px;
        background: white;
    }

    .search-fields button {
        width: 150px;
    }

.payroll-table-wrapper {
    width: 100%;
    overflow-x: auto;
    background: white;
    border-radius: 10px;
    box-shadow: 0 3px 12px rgba(135, 59, 88, 0.06);
}

.payroll-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 650px;
}

    .payroll-table th {
        background: #fceef3;
        color: #873b58;
        padding: 15px;
        text-align: center;
        white-space: nowrap;
    }

    .payroll-table td {
        padding: 15px;
        text-align: center;
        border-bottom: 1px solid #f3e5eb;
        white-space: nowrap;
    }

    .payroll-table tbody tr:hover {
        background: #fff8fa;
    }

.salary-net {
    color: #bd6389;
    font-weight: bold;
}

.payroll-empty {
    background: white;
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    color: #888;
    box-shadow: 0 3px 12px rgba(135, 59, 88, 0.06);
}

.text-danger {
    color: #c03955;
}

.detail-button {
    display: inline-block;
    padding: 8px 14px;
    background: #d9789e;
    color: white;
    text-decoration: none;
    border-radius: 7px;
    font-size: 13px;
    font-weight: 600;
    white-space: nowrap;
    transition: 0.2s;
}

    .detail-button:hover {
        background: #b95780;
        color: white;
    }
.dashboard-footer small {
    display: block;
    margin-top: 6px;
    font-size: 11px;
    color: #888;
    font-style: italic;
    line-height: 1.5;
}
.dashboard-brand {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

    .dashboard-brand small {
        font-size: 16px;
        font-weight: 600;
        font-style: normal;
        color: #A33D68;
        letter-spacing: 0.3px;
        margin-top: 3px;
    }
