/* Base Styles */
        * {
            box-sizing: border-box;
            font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
            margin: 0;
            padding: 0;
        }

        body {
            background: #f0f2f5;
            line-height: 1.6;
        }

        .container {
            max-width: 1200px;
            margin: 0 auto;
            padding: 20px;
        }
        .profile-icon {
            cursor: pointer;
            background: #fff;
            width: 40px;
            height: 40px;
            border-radius: 50%;
            color: #6366f1;
            text-align: center;
            font-weight: bold;
            font-size: 23px;
            text-align: center;
            align-items: center;
        }
        .dropdown-menu.show {
            display: block;
            font-size: 16px;
            font-weight: 500;
        }

        /* Header */
        .header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            background: linear-gradient(135deg, #6366f1, #8b5cf6);
            color: white;
            padding: 1rem;
            box-shadow: 0 2px 10px rgba(0,0,0,0.1);
        }

        .header-left .logo {
            height: 100px;
        }

        .header-right {
            position: relative;
        }

        .profile-icon {
            cursor: pointer;
        }

        .profile-icon img {
            height: 40px;
            border-radius: 50%;
        }

        .dropdown-menu {
            display: none;
            position: absolute;
            right: 0;
            background: white;
            color: black;
            box-shadow: 0 2px 10px rgba(0,0,0,0.1);
            border-radius: 5px;
            overflow: hidden;
            z-index: 1000;
        }

        .dropdown-menu.show {
            display: block;
        }

        .dropdown-menu a {
            display: block;
            padding: 10px 20px;
            text-decoration: none;
            color: black;
        }

        .dropdown-menu a:hover {
            background: #f0f2f5;
        }

        /* Login Page */
        .login-container {
            display: flex;
            justify-content: center;
            align-items: center;
            min-height: 100vh;
        }

        .login-card {
            background: white;
            padding: 2rem;
            border-radius: 10px;
            box-shadow: 0 4px 6px rgba(0,0,0,0.1);
            width: 100%;
            max-width: 400px;
        }

        .form-group {
            margin-bottom: 1.5rem;
        }

        input {
            width: 100%;
            padding: 0.8rem;
            border: 1px solid #e5e7eb;
            border-radius: 5px;
            margin-top: 0.5rem;
        }

        .btn {
            background: #6366f1;
            color: white;
            padding: 0.8rem 1.5rem;
            border: none;
            border-radius: 5px;
            cursor: pointer;
            width: 100%;
        }

        /* Ticket List */
        .ticket-list {
            background: white;
            border-radius: 10px;
            margin-top: 2rem;
            overflow-x: auto;
        }

        table {
            width: 100%;
            border-collapse: collapse;
        }

        th, td {
            padding: 1rem;
            text-align: left;
            border-bottom: 1px solid #e5e7eb;
        }

        .status {
            padding: 0.3rem 0.5rem;
            border-radius: 20px;
            font-size: 0.8rem;
        }

        .open { background: #dcfce7; color: #22c55e; }
        .pending { background: #fef9c3; color: #eab308; }

        /* Ticket Details */
        .ticket-details {
            background: white;
            padding: 2rem;
            border-radius: 10px;
            margin-top: 2rem;
        }

        .remarks-section {
            margin-top: 2rem;
        }

        .remark {
            background: #f8fafc;
            padding: 1rem;
            border-radius: 8px;
            margin: 1rem 0;
        }

        /* Profile Page */
        .profile-form {
            background: white;
            padding: 2rem;
            border-radius: 10px;
            margin-top: 2rem;
        }

        .avatar-upload {
            text-align: center;
            margin: 2rem 0;
        }

        .avatar {
            width: 120px;
            height: 120px;
            border-radius: 50%;
            object-fit: cover;
        }

        input.invalid {
            border: 1px solid red;
        }
        .error {
            color: red;
            font-size: 0.8rem;
            margin-top: 0.5rem;
        }
        
        /* Spinner */
        .spinner {
            border: 4px solid rgba(0, 0, 0, 0.1);
            border-left-color: #6366f1;
            border-radius: 50%;
            width: 40px;
            height: 40px;
            animation: spin 1s linear infinite;
        }

        .billing-form {
            background: white;
            padding: 2rem;
            border-radius: 10px;
            margin-top: 2rem;
        }

        .invoice-list {
            background: white;
            border-radius: 10px;
            margin-top: 2rem;
            overflow-x: auto;
        }

        @keyframes spin {
            0% {
            transform: rotate(0deg);
            }
            100% {
            transform: rotate(360deg);
            }
        }



        /* Mobile Styles */
        @media (max-width: 768px) {
            .container {
                padding: 10px;
            }

            th, td {
                padding: 0.8rem;
            }

            .login-card {
                margin: 1rem;
                padding: 1.5rem;
            }
        }
