/* Transportal Member Theme (Dark Glass) - Renamed File */
:root {
    --primary: #00f2ff;
    --secondary: #bd00ff;
    --accent: #ff0055;
    --bg-dark: #050505;
    --text-main: #ffffff;
    --text-muted: rgba(255, 255, 255, 0.7);
    --glass-bg: rgba(255, 255, 255, 0.03);
    --glass-border: rgba(255, 255, 255, 0.1);
    --glass-highlight: rgba(255, 255, 255, 0.2);
    --card-shadow: 0 30px 60px -12px rgba(0, 0, 0, 0.6);
    --input-height: 50px;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-main);
}

/* =========================================
   Layout Containers
   ========================================= */
.member-container {
    max-width: 500px;
    margin: 200px auto 100px;
    /* Large top margin */
    padding: 0 20px;
    position: relative;
    z-index: 10;
}

/* =========================================
   Glass Card Design
   ========================================= */
.member-card {
    background: rgba(20, 20, 20, 0.6);
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0.01) 100%);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    border-left: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 24px;
    padding: 50px 40px;
    box-shadow: var(--card-shadow);
}

/* Typography */
.member-title {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 12px;
    text-align: center;
    color: #fff;
    text-shadow: 0 0 15px rgba(0, 242, 255, 0.4);
    letter-spacing: -0.5px;
}

.member-subtitle {
    font-size: 15px;
    color: var(--text-muted);
    text-align: center;
    margin-bottom: 35px;
    line-height: 1.5;
}

/* =========================================
   Forms & Inputs
   ========================================= */
.form-group {
    margin-bottom: 24px;
}

.form-label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 10px;
    color: var(--text-muted);
    margin-left: 5px;
}

.form-input {
    width: 100%;
    padding: 0 20px;
    height: var(--input-height);
    background: rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 14px;
    font-size: 15px;
    color: #fff;
    box-sizing: border-box;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    outline: none;
}

.form-input:focus {
    background: rgba(0, 242, 255, 0.05);
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(0, 242, 255, 0.1);
}

.form-input::placeholder {
    color: rgba(255, 255, 255, 0.3);
}

/* Fix Browser Autofill (Chrome/Safari) */
input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus,
input:-webkit-autofill:active {
    -webkit-box-shadow: 0 0 0 1000px #111 inset !important;
    -webkit-text-fill-color: white !important;
    transition: background-color 5000s ease-in-out 0s;
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
}

/* Buttons */
.btn-full {
    width: 100%;
    padding: 16px;
    background: linear-gradient(90deg, rgba(0, 242, 255, 0.1), rgba(0, 242, 255, 0));
    color: var(--primary);
    border: 1px solid var(--primary);
    border-radius: 50px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 15px;
    text-shadow: 0 0 10px rgba(0, 242, 255, 0.2);
}

.btn-full:hover {
    background: var(--primary);
    color: #000;
    box-shadow: 0 0 30px rgba(0, 242, 255, 0.6);
    transform: translateY(-2px);
    text-shadow: none;
}

/* Footer Links */
.member-footer {
    margin-top: 30px;
    text-align: center;
    font-size: 14px;
    color: var(--text-muted);
}

.member-footer a {
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
    margin-left: 5px;
    position: relative;
}

.member-footer a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0%;
    height: 1px;
    background: var(--primary);
    transition: 0.3s;
}

.member-footer a:hover::after {
    width: 100%;
}

/* =========================================
   Dashboard Styles
   ========================================= */
.dashboard-container {
    display: flex;
    max-width: 1200px;
    margin: 200px auto 100px;
    gap: 40px;
    padding: 0 20px;
}

.dash-sidebar {
    width: 260px;
    flex-shrink: 0;
}

.dash-content {
    flex-grow: 1;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.04) 0%, rgba(255, 255, 255, 0.01) 100%);
    backdrop-filter: blur(30px);
    -webkit-backdrop-filter: blur(30px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 24px;
    padding: 45px;
    box-shadow: var(--card-shadow);
    color: var(--text-main);
}

/* Sidebar Menu */
.side-menu {
    list-style: none;
    padding: 10px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    margin-top: 20px;
}

.side-menu li a {
    display: flex;
    align-items: center;
    padding: 16px 20px;
    font-size: 15px;
    color: var(--text-muted);
    text-decoration: none;
    border-radius: 12px;
    transition: all 0.2s;
    margin-bottom: 4px;
}

.side-menu li a:last-child {
    margin-bottom: 0;
}

.side-menu li a:hover,
.side-menu li a.active {
    background: rgba(0, 242, 255, 0.1);
    color: var(--primary);
    font-weight: 600;
}

.side-menu i {
    width: 28px;
    margin-right: 5px;
    text-align: center;
}

/* Tables */
.dash-content table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0 10px;
    margin-top: 15px;
}

.dash-content th {
    padding: 15px 15px;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.5);
    font-weight: 600;
    text-align: left;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.dash-content tbody tr {
    background: rgba(255, 255, 255, 0.02);
    transition: 0.2s;
    cursor: default;
}

.dash-content tbody tr:hover {
    background: rgba(255, 255, 255, 0.05);
    transform: translateX(5px);
}

.dash-content td {
    padding: 24px 15px;
    font-size: 15px;
    color: #fff;
    border: none;
    vertical-align: middle;
}

.dash-content td:first-child {
    border-top-left-radius: 16px;
    border-bottom-left-radius: 16px;
    padding-left: 25px;
}

.dash-content td:last-child {
    border-top-right-radius: 16px;
    border-bottom-right-radius: 16px;
    padding-right: 25px;
}

/* Status Badges */
.status-badge {
    padding: 8px 14px;
    border-radius: 30px;
    font-size: 12px;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    line-height: 1;
}

.status-pending {
    background: rgba(255, 193, 7, 0.15);
    color: #ffc107;
    border: 1px solid rgba(255, 193, 7, 0.3);
}

.status-processing {
    background: rgba(0, 242, 255, 0.15);
    color: #00f2ff;
    border: 1px solid rgba(0, 242, 255, 0.3);
}

.status-completed {
    background: rgba(40, 167, 69, 0.15);
    color: #4ade80;
    border: 1px solid rgba(40, 167, 69, 0.3);
}

.status-default {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
}

/* Responsive */
@media (max-width: 900px) {
    .dashboard-container {
        flex-direction: column;
        margin-top: 140px;
    }

    .dash-sidebar {
        width: 100%;
    }

    .member-container {
        margin-top: 140px;
        max-width: 90%;
    }

    .member-card {
        padding: 40px 25px;
    }
}