       /* Base Premium Theme Colors */
        :root {
            --bg-creamy: #fdfbf7;
            --chat-bg: #f4f9f5;
            --green-primary: #66bb6a;
            --green-dark: #388e3c;
            --text-dark: #2c4c3b;
            --text-muted: #6b8e7b;
            --border-light: #c8e6c9;
            --danger-red: #ff5252;
        }

        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
            font-family: 'Poppins', sans-serif;
        }

        body {
            background-color: var(--bg-creamy);
            color: var(--text-dark);
            min-height: 100vh;
            display: flex;
            flex-direction: column;
            align-items: center;
            /* Ensures padding for mobile so content doesn't stick to edges */
            padding: 20px 15px; 
        }

        /* MAIN CONTAINER */
        .account-container {
            width: 100%;
            max-width: 500px; /* Perfect for mobile, sleek on desktop */
            margin-top: 20px;
        }

        /* LOGGED IN VIEW */
        .profile-card {
            background: #ffffff;
            border-radius: 24px;
            box-shadow: 0 10px 30px rgba(102, 187, 106, 0.08);
            overflow: hidden;
            margin-bottom: 25px;
            text-align: center;
            border: 1px solid var(--border-light);
        }

        .profile-header-bg {
            height: 100px;
            background: linear-gradient(135deg, var(--green-primary), var(--green-dark));
        }

        .profile-img-wrapper {
            margin-top: -50px; /* Pulls the image up into the banner */
            position: relative;
        }

        .profile-img-wrapper img {
            width: 100px;
            height: 100px;
            border-radius: 50%;
            border: 4px solid #ffffff;
            box-shadow: 0 4px 15px rgba(0,0,0,0.1);
            object-fit: cover;
            background: #fff;
        }

        .profile-details {
            padding: 15px 20px 25px;
        }

        .profile-details h2 {
            font-size: 1.4rem;
            font-weight: 600;
            margin-bottom: 5px;
        }

        .profile-details p {
            color: var(--text-muted);
            font-size: 0.95rem;
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 8px;
        }

        /* MENU SECTION */
        .menu-container {
            display: flex;
            flex-direction: column;
            gap: 12px;
        }

        .menu-item {
            display: flex;
            align-items: center;
            padding: 10px 12px;
            background: #ffffff;
            border-radius: 16px;
            text-decoration: none;
            color: var(--text-dark);
            font-weight: 500;
            border: 1px solid var(--border-light);
            box-shadow: 0 2px 10px rgba(0,0,0,0.02);
            transition: all 0.3s ease;
        }

        .menu-item:hover {
            transform: translateY(-2px);
            box-shadow: 0 8px 20px rgba(102, 187, 106, 0.12);
            border-color: var(--green-primary);
        }

        .menu-item i:first-child {
            color: var(--green-primary);
            font-size: 1.2rem;
            width: 30px;
            text-align: center;
            margin-right: 15px;
            background: var(--chat-bg);
            padding: 10px;
            border-radius: 10px;
        }

        .menu-item span {
            flex: 1;
        }

        .arrow-right {
            color: #b0bec5;
            font-size: 0.9rem;
            transition: 0.3s;
        }

        .menu-item:hover .arrow-right {
            color: var(--green-primary);
            transform: translateX(3px);
        }

        /* LOGOUT BUTTON */
        .logout-form {
            margin-top: 10px;
        }

        .logout-btn {
            width: 100%;
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 10px;
            padding: 16px;
            background: #fff0f0;
            color: var(--danger-red);
            border: 1px solid #ffd6d6;
            border-radius: 16px;
            font-size: 1rem;
            font-weight: 600;
            cursor: pointer;
            transition: 0.3s;
            margin-bottom: 80px;
        }

        .logout-btn:hover {
            background: var(--danger-red);
            color: #ffffff;
            border-color: var(--danger-red);
        }

        /* GUEST VIEW */
        .guest-card {
            background: #ffffff;
            text-align: center;
            padding: 40px 30px;
            border-radius: 24px;
            box-shadow: 0 10px 30px rgba(102, 187, 106, 0.08);
            border: 1px solid var(--border-light);
            margin-top: 40px;
        }

        .guest-icon {
            font-size: 4.5rem;
            color: var(--border-light);
            margin-bottom: 20px;
        }

        .guest-card h1 {
            font-size: 1.6rem;
            margin-bottom: 10px;
            color: var(--text-dark);
        }

        .guest-card p {
            color: var(--text-muted);
            font-size: 0.95rem;
            margin-bottom: 30px;
            line-height: 1.5;
        }

        .btn-primary {
            display: block;
            width: 100%;
            padding: 15px;
            background: var(--green-primary);
            color: #ffffff;
            border-radius: 30px;
            text-decoration: none;
            font-weight: 500;
            font-size: 1rem;
            transition: 0.3s;
            box-shadow: 0 4px 15px rgba(102, 187, 106, 0.3);
            margin-bottom: 15px;
        }

        .btn-primary:hover {
            background: var(--green-dark);
            transform: translateY(-2px);
        }

        .btn-outline {
            display: block;
            width: 100%;
            padding: 8px;
            background: transparent;
            border: 2px solid var(--green-primary);
            color: var(--green-dark);
            border-radius: 30px;
            text-decoration: none;
            font-weight: 500;
            font-size: 1rem;
            transition: 0.3s;
        }

        .btn-outline:hover {
            background: var(--chat-bg);
        }

        .back-home {
            display: inline-block;
            margin-top: 25px;
            color: var(--text-muted);
            text-decoration: none;
            font-size: 0.95rem;
            font-weight: 500;
            transition: 0.3s;
        }

        .back-home:hover {
            color: var(--green-dark);
        }
        .back-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;

    color: var(--primary);
    text-decoration: none;
    font-weight: 500;

    margin-bottom: 15px;

    /* 🔥 Force left alignment */
    justify-content: flex-start;
}


.back-btn:hover {
    transform: translateX(-5px);
}
