* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    min-height: 100vh;
    font-family: Arial, sans-serif;
    background: #fff;
    overflow: hidden;
}

/* Background */
.auth-bg {
    position: fixed;
    z-index: 1;
    pointer-events: none;
}

/* Top Left */
.bg-left-top {
    top: 0;
    left: 0;
    width: 130px;
}

/* Top Right */
.bg-right-top {
    top: 0;
    right: 0;
    width: 260px;
}

/* Bottom Left */
.bg-left-bottom {
    bottom: -40px;
    left: 0;
    width: 150px;
}

/* Bottom Right */
.bg-right-bottom {
    bottom: 0;
    right: 0;
    width: 230px;
}

/* Wrapper */
.auth-wrapper {
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 30px 20px;
    position: relative;
    z-index: 5;
}

/* Card */
.auth-card {
    width: 100%;
    max-width: 360px;
    text-align: center;
}

/* Logo */
.auth-logo {
    width: 150px;
    margin-bottom: 15px;
}

/* Title */
.auth-card h1 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 35px;
}

/* Form */
.auth-form {
    display: flex;
    flex-direction: column;
    gap: 22px;
}

/* Input */
.auth-form input {
    width: 100%;
    height: 40px;
    padding: 0 12px;
    border: 1px solid #777;
    border-radius: 4px;
    outline: none;
    box-shadow: 0 2px 4px rgba(0,0,0,0.25);
}

/* Focus */
.auth-form input:focus {
    border-color: #008c45;
}

/* Success */
.auth-success {
    background: #d4edda;
    color: #155724;
    padding: 12px;
    border-radius: 4px;
    margin-bottom: 20px;
    font-size: 13px;
    text-align: left;
}

/* Error */
.auth-error {
    margin-top: -10px;
    color: #dc3545;
    font-size: 12px;
    text-align: left;
}

/* Password */
.password-wrapper {
    position: relative;
    width: 100%;
}

.password-wrapper input {
    padding-right: 45px;
}

.toggle-password {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    color: #000;
    font-size: 14px;
}

/* Forgot Password */
.forgot-link {
    margin-top: -12px;
    text-align: right;
    font-size: 11px;
}

.forgot-link a {
    color: #999;
    text-decoration: none;
}

/* Button */
.auth-form button {
    height: 42px;
    border: none;
    border-radius: 4px;
    background: #008c45;
    color: white;
    font-weight: bold;
    cursor: pointer;
    box-shadow: 0 2px 4px rgba(0,0,0,0.25);
}

.auth-form button:hover {
    background: #00753a;
}

/* Bottom Text */
.auth-link {
    margin-top: 25px;
    font-size: 12px;
    color: #999;
}

.auth-link a {
    color: #000;
    font-weight: bold;
    text-decoration: none;
}

/* Tablet */
@media (max-width: 768px) {

    body {
        overflow-y: auto;
    }

    .auth-logo {
        width: 130px;
    }

    .auth-card {
        max-width: 340px;
    }

    .bg-left-top {
        width: 90px;
    }

    .bg-right-top {
        width: 170px;
    }

    .bg-left-bottom {
        width: 100px;
    }

    .bg-right-bottom {
        width: 160px;
    }
}

/* Mobile */
@media (max-width: 480px) {

    .auth-wrapper {
        padding: 40px 25px;
    }

    .auth-logo {
        width: 120px;
    }

    .auth-card h1 {
        font-size: 16px;
    }

    .auth-form {
        gap: 18px;
    }

    .auth-form input,
    .auth-form button {
        height: 42px;
    }

    .bg-left-top {
        width: 70px;
    }

    .bg-right-top {
        width: 130px;
    }

    .bg-left-bottom {
        width: 80px;
    }

    .bg-right-bottom {
        width: 120px;
    }
}

.chat-icon {
    font-size: 22px;
    color: #333;
}

.profile-wrapper {
    position: relative;
}

.profile-button {
    display: flex;
    align-items: center;
    gap: 7px;
    border: none;
    background: transparent;
    font-size: 16px;
    cursor: pointer;
}

.profile-button i {
    font-size: 30px;
    color: #333;
}

.profile-dropdown {
    position: absolute;
    top: 45px;
    right: 0;
    width: 300px;
    background: #fff;
    border-radius: 6px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.3);
    display: none;
    z-index: 99;
}

.profile-dropdown.show {
    display: block;
}

.dropdown-header {
    background: #333;
    color: #fff;
    padding: 12px 16px;
    border-radius: 6px 6px 0 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.dropdown-user {
    display: flex;
    align-items: center;
    gap: 10px;
}

.dropdown-user i {
    font-size: 32px;
}

.setting-icon {
    color: #fff;
    font-size: 20px;
}

.dropdown-body {
    padding: 18px;
}

.dropdown-title {
    display: flex;
    justify-content: space-between;
    margin-bottom: 14px;
}

.dropdown-title a {
    font-size: 11px;
    color: #008a46;
    text-decoration: none;
}

.order-menu {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    border: 1px solid #ddd;
}

.order-menu a {
    padding: 10px 5px;
    text-align: center;
    text-decoration: none;
    color: #333;
    border-right: 1px solid #ddd;
}

.order-menu a:last-child {
    border-right: none;
}

.order-menu i {
    color: #006b3c;
    font-size: 18px;
    margin-bottom: 6px;
}

.order-menu span {
    display: block;
    font-size: 9px;
}

.logout-form {
    text-align: center;
    margin-top: 25px;
}

.logout-form button {
    background: #008a46;
    color: #fff;
    border: none;
    padding: 9px 24px;
    border-radius: 7px;
    cursor: pointer;
}