/* General Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary: #006ba1;
    --primary-light: rgba(0, 107, 161, 0.1);
    --secondary: #f0b90b;
    --accent: #00c6ff;
    --dark-bg: #0a0a0a;
    --card-bg: #111111;
    --surface: #1a1a1a;
    --border: #222222;
    --text-primary: #ffffff;
    --text-secondary: #888888;
    --success: #00d68f;
    --warning: #ffaa00;
    --danger: #ff3d71;
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --shadow: 0 4px 40px rgba(0, 0, 0, 0.5);
    --shadow-lg: 0 20px 60px rgba(0, 0, 0, 0.4);
}

body {
    font-family: 'Inter', sans-serif;
    background-color: #000000;
    color: var(--text-primary);
    line-height: 1.6;
    margin: 0;
    padding: 20px;
}

/* DEGX Branded Header Styles */
.dashboard-header {
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(40px);
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: var(--shadow);
}

.header-main {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 40px;
    height: 80px;
    max-width: 1440px;
    margin: 0 auto;
}

.header-left {
    display: flex;
    align-items: center;
    gap: 48px;
}

.logo {
    font-size: 28px;
    font-weight: 800;
    display: flex;
    align-items: center;
    gap: 12px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-decoration: none;
    transition: transform 0.3s ease;
}

.logo:hover {
    transform: scale(1.05);
}

.main-nav {
    display: flex;
    gap: 8px;
}

.nav-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 24px;
    color: var(--text-secondary);
    text-decoration: none;
    border-radius: var(--radius-md);
    transition: all 0.3s ease;
    font-weight: 600;
    font-size: 14px;
    position: relative;
}

.nav-item:hover,
.nav-item.active {
    background: var(--surface);
    color: var(--text-primary);
    transform: translateY(-1px);
}

.nav-item.active {
    color: var(--primary);
    background: var(--primary-light);
}

.nav-item.active::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 24px;
    right: 24px;
    height: 2px;
    background: var(--primary);
    border-radius: 2px;
}

.header-right {
    display: flex;
    align-items: center;
    gap: 24px;
}

.user-menu {
    position: relative;
}

.user-info {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 16px;
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: all 0.3s ease;
   background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
      -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: flex;
    color: #ffffff;
    border: 1px solid transparent;
    border: 1px solid #222222;
}

.user-info:hover {
    /* background: rgba(255, 255, 255, 0.08); */
    border-color: var(--border);
    transform: translateY(-1px);
}

.user-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--primary);
    transition: transform 0.3s ease;
}

.user-avatar:hover {
    transform: scale(1.1);
}

.user-name {
    font-weight: 600;
    font-size: 14px;
    color: var(--text-primary);
}

.profile-dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    right: 0;
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 12px 0;
    min-width: 240px;
    box-shadow: var(--shadow-lg);

    z-index: 1001;
    margin-top: 12px;
    backdrop-filter: blur(20px);
    animation: slideIn 0.3s ease-out;
}

@keyframes slideIn {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

.dropdown-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 20px;
    color: var(--text-primary);
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 14px;
    font-weight: 500;
    border: none;
    background: none;
    width: 100%;
    text-align: left;
}

.dropdown-item:hover {
    background: var(--primary-light);
    color: var(--primary);
    transform: translateX(4px);
}

.dropdown-item i {
    width: 18px;
    color: var(--text-secondary);
    transition: color 0.3s ease;
}

.dropdown-item:hover i {
    color: var(--primary);
}

.dropdown-divider {
    height: 1px;
    background: var(--border);
    margin: 12px 0;
}

.mobile-nav-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(10px);
    z-index: 2000;
}

.mobile-nav-overlay.active {
    display: block;
}

.mobile-nav-content {
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    width: 320px;
    background: #000000;
    border-right: 1px solid var(--border);
    transform: translateX(-100%);
    transition: transform 0.3s ease;
    z-index: 2001;
}

.mobile-nav-overlay.active .mobile-nav-content {
    transform: translateX(0);
}

.mobile-nav-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px;
    border-bottom: 1px solid var(--border);
    background: rgba(255, 255, 255, 0.02);
}

.mobile-nav-header h2 {
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
      -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: flex;
    color: #ffffff;
    font-size: 20px;
    font-weight: 700;
}

.mobile-nav-close {
    background: none;
    border: none;
    color: var(--text-primary);
    font-size: 20px;
    cursor: pointer;
    padding: 8px;
    border-radius: var(--radius-sm);
    transition: all 0.3s ease;
}

.mobile-nav-close:hover {
    background: var(--surface);
    transform: rotate(90deg);
}

.mobile-nav {
    padding: 24px 0;
}

.mobile-nav-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 18px 24px;
    color: var(--text-secondary);
    text-decoration: none;
    transition: all 0.3s ease;
    border-left: 4px solid transparent;
    font-weight: 600;
}

.mobile-nav-item:hover,
.mobile-nav-item.active {
    background: var(--primary-light);
    color: var(--primary);
    border-left-color: var(--primary);
    transform: translateX(4px);
}

.mobile-nav-item i {
    width: 24px;
    text-align: center;
    font-size: 18px;
}

.mobile-menu-btn {
    display: none;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border);
    color: var(--text-primary);
    font-size: 18px;
    cursor: pointer;
    padding: 10px;
    border-radius: 10px;
    transition: all 0.3s ease;
}

.mobile-menu-btn:hover {
    background: var(--primary);
    color: var(--text-primary);
    transform: scale(1.05);
}

.container {
    max-width: 1000px;
    margin: 40px auto;
    padding: 0 20px;
}

.verification-container {
    background: #000000;
    border-radius: var(--radius-lg);
    padding: 32px;
    box-shadow: var(--shadow);
    border: 1px solid var(--border);
    animation: fadeInUp 0.5s ease-out;
}

.verification-header {
    text-align: center;
    margin-bottom: 32px;
}

.verification-header h2 {
    font-size: 28px;
    font-weight: 700;
    color: var(--text-primary);
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 12px;
}

.verification-header p {
    color: var(--text-secondary);
    font-size: 16px;
    max-width: 600px;
    margin: 0 auto 24px;
}

.progress-bar {
    display: flex;
    justify-content: space-between;
    max-width: 600px;
    margin: 0 auto;
    position: relative;
}

.progress-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    flex: 1;
    position: relative;
    z-index: 2;
}

.progress-step:not(:last-child):after {
    content: '';
    position: absolute;
    top: 20px;
    left: 60%;
    right: -40%;
    height: 4px;
    background: var(--border);
    z-index: 1;
}

.progress-step.completed:not(:last-child):after {
    background: var(--success);
}

.progress-step span {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--surface);
    color: var(--text-secondary);
    margin-bottom: 10px;
    font-weight: 600;
    font-size: 16px;
    transition: all 0.3s ease;
}

.progress-step.completed span {
    background: var(--success);
    color: var(--text-primary);
}

.progress-step.active span {
    background: var(--primary);
    color: var(--text-primary);
    transform: scale(1.1);
}

.progress-step p {
    font-size: 14px;
    color: var(--text-secondary);
    font-weight: 500;
}

.progress-step.completed p,
.progress-step.active p {
    color: var(--text-primary);
}

.verification-content {
    max-width: 800px;
    margin: 0 auto;
}

.status-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 24px;
    background: var(--surface);
    border-radius: var(--radius-md);
    margin-bottom: 32px;
    text-align: center;
    border-left: 4px solid;
    animation: slideIn 0.5s ease-out;
}

.status-card.pending {
    border-color: var(--warning);
}

.status-card.approved {
    border-color: var(--success);
}

.status-card.rejected {
    border-color: var(--danger);
}

.status-icon {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--primary-light);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
    font-size: 24px;
    color: var(--secondary);
}

.status-card.pending .status-icon i {
    animation: pulse 1.5s infinite;
}

.status-card h3 {
    font-size: 20px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 12px;
}

.status-card p {
    color: var(--text-secondary);
    font-size: 14px;
    max-width: 400px;
}

.kyc-form {
    background: #000000;
    padding: 24px;
    border-radius: var(--radius-md);
    border: 1px solid var(--border);
    animation: fadeIn 0.5s ease-out;
}

.form-section {
    margin-bottom: 32px;
}

.form-section h3 {
    font-size: 18px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
      -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: flex;
    color: #ffffff;
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--primary);
    display: flex;
    align-items: center;
    gap: 8px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
      -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: flex;
    color: #ffffff;
    font-weight: 500;
    font-size: 14px;
}

.form-group input, .form-group select {
    width: 100%;
    padding: 12px 16px;
    background: #000000;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    color: var(--text-primary);
    font-size: 14px;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px var(--primary-light);
}

.upload-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    margin-top: 24px;
}

.upload-box {
    border: 2px dashed var(--border);
    border-radius: var(--radius-md);
    padding: 24px;
    text-align: center;
    transition: all 0.3s ease;
    cursor: pointer;
}

.upload-box:hover {
    border-color: var(--primary);
    background: var(--primary-light);
}

.upload-icon {
    font-size: 32px;
    color: var(--secondary);
    margin-bottom: 12px;
}

.upload-box h4 {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.upload-box p {
    color: var(--text-secondary);
    font-size: 14px;
    margin-bottom: 12px;
}

.upload-btn {
    background: var(--surface);
    color: var(--text-primary);
    border: 1px solid var(--border);
    padding: 10px 20px;
    border-radius: var(--radius-sm);
    cursor: pointer;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.3s ease;
}

.upload-btn:hover {
    background: var(--primary);
    border-color: var(--primary);
    transform: scale(1.05);
}

.file-name {
    margin-top: 12px;
    font-size: 14px;
    color: var(--primary);
    word-break: break-all;
}

.form-actions {
    display: flex;
    justify-content: space-between;
    margin-top: 32px;
}

.btn-primary,
.btn-secondary,
.btn-outline {
    padding: 12px 24px;
    border-radius: var(--radius-sm);
    font-weight: 600;
    cursor: pointer;
    font-size: 14px;
    transition: all 0.3s ease;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    color: var(--text-primary);
    border: none;
}

.btn-primary:hover {
    transform: scale(1.05);
}

.btn-secondary {
    background: var(--surface);
    color: var(--text-primary);
    border: 1px solid var(--border);
}

.btn-secondary:hover {
    background: var(--primary);
    border-color: var(--primary);
    transform: scale(1.05);
}

.btn-outline {
    background: transparent;
    border: 1px solid var(--primary);
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
      -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    /* display: flex; */
    color: #ffffff;
}

.btn-outline:hover {
    background: #222222;
    transform: scale(1.05);
}

.resubmit-section {
    background: #000000;
    padding: 24px;
    border-radius: var(--radius-md);
    text-align: center;
    margin-top: 32px;
    border: 1px solid var(--border);
    animation: fadeIn 0.5s ease-out;
}

.resubmit-section h3 {
    font-size: 18px;
    font-weight: 600;
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
      -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    /* display: flex; */
    color: #ffffff;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.resubmit-section p {
    color: var(--text-secondary);
    font-size: 14px;
    max-width: 500px;
    margin: 0 auto 16px;
}

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes slideIn {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes pulse {
    0% { opacity: 0.6; }
    50% { opacity: 1; }
    100% { opacity: 0.6; }
}

@media (max-width: 768px) {
    .header-main {
        padding: 0 24px;
        height: 70px;
    }

    .main-nav {
        display: none !important;
    }

    .mobile-menu-btn {
        display: block;
    }

    .user-name {
        display: none;
    }

    .profile-dropdown-menu {
        position: fixed;
        top: 70px;
        left: 50%;
        transform: translateX(-50%);
        right: auto;
        width: 90%;
        max-width: 300px;
    }

    .container {
        padding: 16px;
    }

    .verification-container {
        padding: 24px;
    }

    .form-row,
    .upload-section {
        grid-template-columns: 1fr;
    }

    .progress-step:not(:last-child):after {
        display: none;
    }

    .progress-bar {
        flex-wrap: wrap;
        gap: 16px;
    }

    .progress-step {
        flex: 0 0 calc(50% - 16px);
    }
}

@media (max-width: 480px) {
    .header-main {
        padding: 0 16px;
    }

    .logo {
        font-size: 24px;
    }

    .mobile-nav-content {
        width: 280px;
    }

    .verification-header h2 {
        font-size: 24px;
    }

    .status-card {
        padding: 16px;
    }
}

/* Notification Modal */
.modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(5px);
  z-index: 2000;
  align-items: center;
  justify-content: center;
}
.modal.active {
  display: flex;
  animation: fadeIn 0.3s ease;
}
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}
.modal-content {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 0;
  max-width: 400px;
  width: 90%;
  box-shadow: var(--shadow-lg);
  animation: modalSlideIn 0.3s ease;
}
@keyframes modalSlideIn {
  from { opacity: 0; transform: translateY(-50px) scale(0.9); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}
.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px;
    border-bottom: 1px solid var(--border);
    background-color: black;
}
.modal-header h3 {
  font-size: 18px;
  font-weight: 600;
  color: var(--text-primary);
}
.modal.success .modal-header h3 {
  color: var(--success);
}
.modal.error .modal-header h3 {
  color: var(--danger);
}
.modal-close {
  background: none;
  border: none;
  color: var(--text-secondary);
  font-size: 20px;
  cursor: pointer;
  padding: 4px;
  border-radius: 4px;
  transition: all 0.3s ease;
}
.modal-close:hover {
  color: var(--danger);
  background: rgba(255, 61, 113, 0.1);
}
.modal-body {
    padding: 24px;
    color: var(--text-secondary);
    line-height: 1.5;
    background-color: black;
}
.modal-footer {
    padding: 16px 24px;
    border-top: 1px solid var(--border);
    text-align: right;
    background-color: black;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
  transition: all 0.3s ease;
  border: none;
  font-family: 'Inter', sans-serif;
}
.btn-primary {
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  color: var(--text-primary);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

/* Status Card Styles */
.status-card {
    padding: 30px;
    border-radius: 12px;
    margin-bottom: 30px;
    text-align: center;
    border: 2px solid;
    background: #000000;
}

.status-card.pending {
    background: rgba(240, 185, 11, 0.1);
    border-color: #F0B90B;
    color: #F0B90B;
}

.status-card.rejected {
    background: rgba(246, 70, 93, 0.1);
    border-color: #F6465D;
    color: #F6465D;
}

.status-card.not-verified {
    background: rgba(118, 128, 143, 0.1);
    border-color: #76808F;
    color: #76808F;
}

.status-card.error {
    background: rgba(246, 70, 93, 0.1);
    border-color: #F6465D;
    color: #F6465D;
}

.status-icon {
    font-size: 48px;
    margin-bottom: 20px;
}

.status-card h3 {
    margin-bottom: 15px;
    font-weight: 600;
    font-size: 1.5em;
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
      -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: flex;
    color: #ffffff;
}

.status-card p {
    margin-bottom: 20px;
    opacity: 0.9;
    font-size: 1.1em;
}

.status-actions {
    margin-top: 20px;
}

.status-info {
    margin-top: 15px;
    padding: 15px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    font-size: 0.9em;
}

.status-info i {
    margin-right: 8px;
}