/* GuriFx Public Styles */

/* CSS Variables for Theme Colors */
:root {
    --gurifx-primary: #B8860B; /* Dark Goldenrod */
    --gurifx-primary-dark: #996B07;
    --gurifx-primary-light: #DAA520;
    --gurifx-secondary: #8B4513; /* Saddle Brown */
    --gurifx-secondary-dark: #654321;
    --gurifx-secondary-light: #A0522D;
    --gurifx-dark: #1a1a1a;
    --gurifx-dark-light: #2d2d2d;
    --gurifx-dark-lighter: #404040;
    --gurifx-white: #ffffff;
    --gurifx-gray-100: #f8f9fa;
    --gurifx-gray-200: #e9ecef;
    --gurifx-gray-300: #dee2e6;
    --gurifx-gray-400: #ced4da;
    --gurifx-gray-500: #adb5bd;
    --gurifx-gray-600: #6c757d;
    --gurifx-gray-700: #495057;
    --gurifx-gray-800: #343a40;
    --gurifx-gray-900: #212529;
    --gurifx-success: #28a745;
    --gurifx-danger: #dc3545;
    --gurifx-warning: #ffc107;
    --gurifx-info: #17a2b8;
    --gurifx-border-radius: 8px;
    --gurifx-border-radius-lg: 12px;
    --gurifx-transition: all 0.3s ease;
    --gurifx-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    --gurifx-shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.15);
}

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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--gurifx-gray-800);
    background-color: var(--gurifx-gray-100);
}

/* Authentication Pages */
.gurifx-auth-container {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    position: relative;
    background: linear-gradient(135deg, var(--gurifx-dark) 0%, var(--gurifx-secondary) 100%);
    overflow: hidden;
}

.gurifx-auth-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.gurifx-bg-shape {
    position: absolute;
    border-radius: 50%;
    background: rgba(184, 134, 11, 0.1);
    animation: float 6s ease-in-out infinite;
}

.gurifx-bg-shape-1 {
    width: 200px;
    height: 200px;
    top: 10%;
    left: 10%;
    animation-delay: 0s;
}

.gurifx-bg-shape-2 {
    width: 150px;
    height: 150px;
    top: 60%;
    right: 15%;
    animation-delay: 2s;
}

.gurifx-bg-shape-3 {
    width: 100px;
    height: 100px;
    bottom: 20%;
    left: 20%;
    animation-delay: 4s;
}

@keyframes float {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(180deg); }
}

.gurifx-auth-card {
    background: var(--gurifx-white);
    border-radius: var(--gurifx-border-radius-lg);
    box-shadow: var(--gurifx-shadow-lg);
    width: 100%;
    max-width: 450px;
    position: relative;
    z-index: 1;
    overflow: hidden;
}

.gurifx-auth-header {
    text-align: center;
    padding: 40px 40px 20px;
    background: linear-gradient(135deg, var(--gurifx-primary) 0%, var(--gurifx-primary-dark) 100%);
    color: var(--gurifx-white);
}

.gurifx-auth-logo {
    max-width: 120px;
    height: auto;
    margin-bottom: 20px;
    filter: brightness(0) invert(1);
}

.gurifx-auth-header h1 {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 8px;
}

.gurifx-auth-header p {
    opacity: 0.9;
    font-size: 14px;
}

.gurifx-auth-form-container {
    padding: 40px;
}

.gurifx-auth-footer {
    text-align: center;
    padding: 20px;
    background: var(--gurifx-gray-100);
    color: var(--gurifx-gray-600);
    font-size: 12px;
}

/* Form Styles */
.gurifx-auth-form {
    width: 100%;
}

.gurifx-form-group {
    margin-bottom: 24px;
}

.gurifx-form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: var(--gurifx-gray-700);
    font-size: 14px;
}

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

.gurifx-input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.gurifx-input-wrapper i {
    position: absolute;
    left: 12px;
    color: var(--gurifx-gray-400);
    z-index: 2;
}

.gurifx-input-wrapper input {
    width: 100%;
    padding: 12px 12px 12px 40px;
    border: 2px solid var(--gurifx-gray-200);
    border-radius: var(--gurifx-border-radius);
    font-size: 14px;
    transition: var(--gurifx-transition);
    background: var(--gurifx-white);
}

.gurifx-input-wrapper input:focus {
    outline: none;
    border-color: var(--gurifx-primary);
    box-shadow: 0 0 0 3px rgba(184, 134, 11, 0.1);
}

.gurifx-password-toggle {
    position: absolute;
    right: 12px;
    background: none;
    border: none;
    color: var(--gurifx-gray-400);
    cursor: pointer;
    padding: 4px;
    z-index: 2;
    transition: var(--gurifx-transition);
}

.gurifx-password-toggle:hover {
    color: var(--gurifx-primary);
}

.gurifx-password-match {
    position: absolute;
    right: 12px;
    color: var(--gurifx-success);
    z-index: 2;
}

.gurifx-help-text {
    display: block;
    margin-top: 4px;
    font-size: 12px;
    color: var(--gurifx-gray-500);
}

/* Password Strength Meter */
.gurifx-password-strength {
    margin-top: 8px;
}

.gurifx-strength-meter {
    height: 4px;
    background: var(--gurifx-gray-200);
    border-radius: 2px;
    overflow: hidden;
    margin-bottom: 4px;
}

.gurifx-strength-fill {
    height: 100%;
    width: 0%;
    transition: var(--gurifx-transition);
    border-radius: 2px;
}

.gurifx-strength-text {
    font-size: 12px;
    color: var(--gurifx-gray-500);
}

/* Checkbox Styles */
.gurifx-checkbox {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    cursor: pointer;
    font-size: 14px;
    line-height: 1.4;
}

.gurifx-checkbox input[type="checkbox"] {
    display: none;
}

.gurifx-checkmark {
    width: 18px;
    height: 18px;
    border: 2px solid var(--gurifx-gray-300);
    border-radius: 3px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--gurifx-transition);
    flex-shrink: 0;
    margin-top: 1px;
}

.gurifx-checkbox input[type="checkbox"]:checked + .gurifx-checkmark {
    background: var(--gurifx-primary);
    border-color: var(--gurifx-primary);
}

.gurifx-checkbox input[type="checkbox"]:checked + .gurifx-checkmark::after {
    content: '\f00c';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    color: var(--gurifx-white);
    font-size: 10px;
}

.gurifx-checkbox a {
    color: var(--gurifx-primary);
    text-decoration: none;
}

.gurifx-checkbox a:hover {
    text-decoration: underline;
}

/* Button Styles */
.gurifx-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 24px;
    border: none;
    border-radius: var(--gurifx-border-radius);
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    cursor: pointer;
    transition: var(--gurifx-transition);
    gap: 8px;
    min-height: 44px;
}

.gurifx-btn-primary {
    background: linear-gradient(135deg, var(--gurifx-primary) 0%, var(--gurifx-primary-dark) 100%);
    color: var(--gurifx-white);
}

.gurifx-btn-primary:hover {
    background: linear-gradient(135deg, var(--gurifx-primary-dark) 0%, var(--gurifx-primary) 100%);
    transform: translateY(-1px);
    box-shadow: var(--gurifx-shadow);
}

.gurifx-btn-secondary {
    background: var(--gurifx-white);
    color: var(--gurifx-primary);
    border: 2px solid var(--gurifx-primary);
}

.gurifx-btn-secondary:hover {
    background: var(--gurifx-primary);
    color: var(--gurifx-white);
}

.gurifx-btn-full {
    width: 100%;
}

.gurifx-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none !important;
}

.gurifx-btn-loading {
    display: none;
}

.gurifx-btn.loading .gurifx-btn-text {
    display: none;
}

.gurifx-btn.loading .gurifx-btn-loading {
    display: flex;
    align-items: center;
    gap: 8px;
}

/* Auth Divider */
.gurifx-auth-divider {
    text-align: center;
    margin: 30px 0;
    position: relative;
}

.gurifx-auth-divider::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 1px;
    background: var(--gurifx-gray-200);
}

.gurifx-auth-divider span {
    background: var(--gurifx-white);
    padding: 0 16px;
    color: var(--gurifx-gray-500);
    font-size: 14px;
}

.gurifx-forgot-link {
    color: var(--gurifx-primary);
    text-decoration: none;
    font-size: 14px;
}

.gurifx-forgot-link:hover {
    text-decoration: underline;
}

/* G-Portal Styles */
.gurifx-portal {
    display: flex;
    min-height: 100vh;
    background: var(--gurifx-gray-100);
}

/* Sidebar */
.gurifx-sidebar {
    width: 280px;
    background: linear-gradient(180deg, var(--gurifx-dark) 0%, var(--gurifx-secondary-dark) 100%);
    color: var(--gurifx-white);
    display: flex;
    flex-direction: column;
    position: fixed;
    height: 100vh;
    overflow-y: auto;
    z-index: 100;
}

.gurifx-logo {
    padding: 30px 20px;
    text-align: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.gurifx-logo img {
    max-width: 140px;
    height: auto;
    filter: brightness(0) invert(1);
}

.gurifx-nav ul {
    list-style: none;
    padding: 20px 0;
}

.gurifx-nav li {
    margin-bottom: 8px;
}

.gurifx-nav-link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 20px;
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: var(--gurifx-transition);
    border-left: 3px solid transparent;
}

.gurifx-nav-link:hover,
.gurifx-nav-link.active {
    background: rgba(184, 134, 11, 0.1);
    color: var(--gurifx-primary-light);
    border-left-color: var(--gurifx-primary);
}

.gurifx-nav-link i {
    width: 20px;
    text-align: center;
}

.gurifx-sidebar-footer {
    margin-top: auto;
    padding: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.gurifx-logout-btn {
    display: flex;
    align-items: center;
    gap: 12px;
    width: 100%;
    padding: 12px;
    background: rgba(220, 53, 69, 0.1);
    color: #ff6b6b;
    text-decoration: none;
    border-radius: var(--gurifx-border-radius);
    transition: var(--gurifx-transition);
}

.gurifx-logout-btn:hover {
    background: rgba(220, 53, 69, 0.2);
}

/* Main Content */
.gurifx-main {
    flex: 1;
    margin-left: 280px;
    padding: 0;
    background: var(--gurifx-gray-100);
}

.gurifx-header {
    background: var(--gurifx-white);
    padding: 24px 30px;
    border-bottom: 1px solid var(--gurifx-gray-200);
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.04);
}

.gurifx-header h1 {
    font-size: 24px;
    font-weight: 600;
    color: var(--gurifx-gray-800);
    margin: 0;
}

.gurifx-user-info {
    display: flex;
    align-items: center;
    gap: 20px;
}

.gurifx-balance {
    font-weight: 600;
    font-size: 16px;
    color: var(--gurifx-primary);
}

/* Tab Content */
.gurifx-tab-content {
    display: none;
    padding: 30px;
}

.gurifx-tab-content.active {
    display: block;
}

/* Stats Grid */
.gurifx-stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 24px;
    margin-bottom: 30px;
}

.gurifx-stat-card {
    background: var(--gurifx-white);
    border-radius: var(--gurifx-border-radius);
    padding: 24px;
    box-shadow: var(--gurifx-shadow);
    display: flex;
    align-items: center;
    gap: 16px;
    transition: var(--gurifx-transition);
}

.gurifx-stat-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--gurifx-shadow-lg);
}

.gurifx-stat-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--gurifx-primary) 0%, var(--gurifx-primary-light) 100%);
    color: var(--gurifx-white);
    font-size: 24px;
}

.gurifx-stat-content h3 {
    font-size: 28px;
    font-weight: 700;
    margin: 0 0 4px 0;
    color: var(--gurifx-gray-800);
}

.gurifx-stat-content p {
    margin: 0;
    color: var(--gurifx-gray-600);
    font-size: 14px;
}

/* Cards */
.gurifx-card {
    background: var(--gurifx-white);
    border-radius: var(--gurifx-border-radius);
    box-shadow: var(--gurifx-shadow);
    margin-bottom: 30px;
    overflow: hidden;
}

.gurifx-card-header {
    padding: 24px 30px;
    border-bottom: 1px solid var(--gurifx-gray-200);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.gurifx-card-header h2 {
    font-size: 20px;
    font-weight: 600;
    margin: 0;
    color: var(--gurifx-gray-800);
}

.gurifx-card > h2 {
    padding: 24px 30px 0;
    font-size: 20px;
    font-weight: 600;
    margin: 0;
    color: var(--gurifx-gray-800);
}

/* Tables */
.gurifx-table-container {
    overflow-x: auto;
    padding: 0 30px 30px;
}

.gurifx-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
}

.gurifx-table th,
.gurifx-table td {
    padding: 12px;
    text-align: left;
    border-bottom: 1px solid var(--gurifx-gray-200);
}

.gurifx-table th {
    background: var(--gurifx-gray-50);
    font-weight: 600;
    color: var(--gurifx-gray-700);
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.gurifx-table tbody tr:hover {
    background: var(--gurifx-gray-50);
}

.gurifx-no-data {
    text-align: center;
    color: var(--gurifx-gray-500);
    font-style: italic;
    padding: 40px;
}

/* Status Badges */
.gurifx-status {
    display: inline-block;
    padding: 4px 8px;
    border-radius: 12px;
    font-size: 11px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.gurifx-status-pending {
    background: rgba(255, 193, 7, 0.1);
    color: #856404;
}

.gurifx-status-active {
    background: rgba(40, 167, 69, 0.1);
    color: #155724;
}

.gurifx-status-approved {
    background: rgba(40, 167, 69, 0.1);
    color: #155724;
}

.gurifx-status-rejected {
    background: rgba(220, 53, 69, 0.1);
    color: #721c24;
}

.gurifx-status-processed {
    background: rgba(23, 162, 184, 0.1);
    color: #0c5460;
}

/* Level Badges */
.gurifx-level {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 16px;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.gurifx-level-silver {
    background: linear-gradient(135deg, #C0C0C0 0%, #A8A8A8 100%);
    color: var(--gurifx-white);
}

.gurifx-level-gold {
    background: linear-gradient(135deg, #FFD700 0%, #FFA500 100%);
    color: var(--gurifx-white);
}

.gurifx-level-platinum {
    background: linear-gradient(135deg, #E5E4E2 0%, #C0C0C0 100%);
    color: var(--gurifx-gray-800);
}

.gurifx-level-diamond {
    background: linear-gradient(135deg, #B9F2FF 0%, #87CEEB 100%);
    color: var(--gurifx-gray-800);
}

.gurifx-level-vip {
    background: linear-gradient(135deg, var(--gurifx-primary) 0%, var(--gurifx-primary-light) 100%);
    color: var(--gurifx-white);
}

/* Trading Accounts */
.gurifx-accounts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 24px;
    padding: 30px;
}

.gurifx-account-card {
    background: var(--gurifx-white);
    border: 1px solid var(--gurifx-gray-200);
    border-radius: var(--gurifx-border-radius);
    padding: 24px;
    transition: var(--gurifx-transition);
}

.gurifx-account-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--gurifx-shadow);
}

.gurifx-account-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
}

.gurifx-account-header h3 {
    font-size: 18px;
    font-weight: 600;
    margin: 0;
    color: var(--gurifx-gray-800);
}

.gurifx-account-details p {
    margin: 8px 0;
    color: var(--gurifx-gray-600);
    font-size: 14px;
}

.gurifx-account-details strong {
    color: var(--gurifx-gray-700);
}

/* Brokers Grid */
.gurifx-brokers-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 24px;
    padding: 30px;
}

.gurifx-broker-card {
    background: var(--gurifx-white);
    border: 1px solid var(--gurifx-gray-200);
    border-radius: var(--gurifx-border-radius);
    padding: 24px;
    text-align: center;
    transition: var(--gurifx-transition);
}

.gurifx-broker-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--gurifx-shadow);
}

.gurifx-broker-logo {
    width: 80px;
    height: 80px;
    object-fit: contain;
    border-radius: var(--gurifx-border-radius);
    margin-bottom: 16px;
}

.gurifx-broker-card h3 {
    font-size: 18px;
    font-weight: 600;
    margin: 0 0 8px 0;
    color: var(--gurifx-gray-800);
}

.gurifx-rebate-value {
    font-size: 16px;
    font-weight: 600;
    color: var(--gurifx-primary);
    margin-bottom: 12px;
}

.gurifx-broker-instructions {
    font-size: 14px;
    color: var(--gurifx-gray-600);
    margin-bottom: 20px;
    line-height: 1.4;
}

/* Tools Grid */
.gurifx-tools-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 24px;
    padding: 30px;
}

.gurifx-tool-card {
    background: var(--gurifx-white);
    border: 1px solid var(--gurifx-gray-200);
    border-radius: var(--gurifx-border-radius);
    overflow: hidden;
    transition: var(--gurifx-transition);
}

.gurifx-tool-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--gurifx-shadow);
}

.gurifx-tool-card.gurifx-tool-locked {
    opacity: 0.6;
    position: relative;
}

.gurifx-tool-image {
    width: 100%;
    height: 180px;
    object-fit: cover;
}

.gurifx-tool-content {
    padding: 20px;
}

.gurifx-tool-content h3 {
    font-size: 18px;
    font-weight: 600;
    margin: 0 0 8px 0;
    color: var(--gurifx-gray-800);
}

.gurifx-tool-type {
    font-size: 12px;
    color: var(--gurifx-primary);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 12px;
}

.gurifx-tool-description {
    font-size: 14px;
    color: var(--gurifx-gray-600);
    line-height: 1.4;
    margin-bottom: 12px;
}

.gurifx-tool-author,
.gurifx-tool-duration {
    font-size: 12px;
    color: var(--gurifx-gray-500);
    margin-bottom: 8px;
}

.gurifx-tool-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
    font-size: 12px;
}

.gurifx-tool-level {
    color: var(--gurifx-gray-600);
}

.gurifx-tool-value {
    color: var(--gurifx-primary);
    font-weight: 600;
}

.gurifx-tool-locked-notice {
    text-align: center;
    color: var(--gurifx-gray-500);
    background: var(--gurifx-gray-100);
    padding: 12px;
    border-radius: var(--gurifx-border-radius);
    margin-top: 12px;
}

.gurifx-tool-locked-notice i {
    margin-bottom: 8px;
    font-size: 20px;
}

/* Signals */
.gurifx-signals-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 24px;
    padding: 30px;
}

.gurifx-signal-card {
    background: var(--gurifx-white);
    border: 1px solid var(--gurifx-gray-200);
    border-radius: var(--gurifx-border-radius);
    overflow: hidden;
    transition: var(--gurifx-transition);
}

.gurifx-signal-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--gurifx-shadow);
}

.gurifx-signal-header {
    padding: 20px 20px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.gurifx-signal-header h3 {
    font-size: 20px;
    font-weight: 700;
    margin: 0;
    color: var(--gurifx-gray-800);
}

.gurifx-signal-type {
    padding: 4px 12px;
    border-radius: 16px;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
}

.gurifx-signal-buy {
    background: rgba(40, 167, 69, 0.1);
    color: #155724;
}

.gurifx-signal-sell {
    background: rgba(220, 53, 69, 0.1);
    color: #721c24;
}

.gurifx-signal-details {
    padding: 16px 20px;
}

.gurifx-signal-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 8px;
    font-size: 14px;
}

.gurifx-signal-label {
    font-weight: 500;
    color: var(--gurifx-gray-600);
}

.gurifx-signal-value {
    font-weight: 600;
    color: var(--gurifx-gray-800);
}

.gurifx-signal-description {
    padding: 0 20px 16px;
    font-size: 14px;
    color: var(--gurifx-gray-600);
    line-height: 1.4;
}

.gurifx-signal-image {
    padding: 0 20px 16px;
}

.gurifx-signal-image img {
    width: 100%;
    height: auto;
    border-radius: var(--gurifx-border-radius);
}

.gurifx-signal-footer {
    padding: 16px 20px;
    border-top: 1px solid var(--gurifx-gray-200);
    text-align: center;
}

.gurifx-signal-date {
    font-size: 12px;
    color: var(--gurifx-gray-500);
}

/* Profile */
.gurifx-profile-info {
    padding: 30px;
}

.gurifx-profile-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 0;
    border-bottom: 1px solid var(--gurifx-gray-200);
}

.gurifx-profile-row:last-child {
    border-bottom: none;
}

.gurifx-profile-row label {
    font-weight: 500;
    color: var(--gurifx-gray-600);
    margin: 0;
}

.gurifx-profile-row span {
    font-weight: 600;
    color: var(--gurifx-gray-800);
}

/* Level Progress */
.gurifx-level-progress {
    padding: 30px;
}

.gurifx-current-level,
.gurifx-next-level {
    background: var(--gurifx-gray-50);
    padding: 20px;
    border-radius: var(--gurifx-border-radius);
    margin-bottom: 20px;
}

.gurifx-current-level h3,
.gurifx-next-level h3 {
    margin: 0 0 12px 0;
    color: var(--gurifx-gray-800);
}

.gurifx-current-level p,
.gurifx-next-level p {
    margin: 4px 0;
    color: var(--gurifx-gray-600);
}

.gurifx-progress-bar {
    width: 100%;
    height: 8px;
    background: var(--gurifx-gray-200);
    border-radius: 4px;
    overflow: hidden;
    margin-top: 12px;
}

.gurifx-progress-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--gurifx-primary) 0%, var(--gurifx-primary-light) 100%);
    transition: width 0.3s ease;
}

.gurifx-max-level {
    text-align: center;
    padding: 40px 20px;
    background: linear-gradient(135deg, var(--gurifx-primary) 0%, var(--gurifx-primary-light) 100%);
    color: var(--gurifx-white);
    border-radius: var(--gurifx-border-radius);
}

.gurifx-max-level h3 {
    margin: 0 0 12px 0;
    font-size: 24px;
}

/* Empty States */
.gurifx-empty-state {
    text-align: center;
    padding: 60px 30px;
    color: var(--gurifx-gray-500);
}

.gurifx-empty-state i {
    font-size: 48px;
    margin-bottom: 20px;
    opacity: 0.5;
}

.gurifx-empty-state h3 {
    font-size: 20px;
    margin: 0 0 12px 0;
    color: var(--gurifx-gray-600);
}

.gurifx-empty-state p {
    margin: 0 0 24px 0;
}

/* Notices */
.gurifx-notice {
    padding: 20px;
    border-radius: var(--gurifx-border-radius);
    margin-bottom: 24px;
    display: flex;
    gap: 16px;
}

.gurifx-notice-info {
    background: rgba(23, 162, 184, 0.1);
    border: 1px solid rgba(23, 162, 184, 0.2);
    color: #0c5460;
}

.gurifx-notice-warning {
    background: rgba(255, 193, 7, 0.1);
    border: 1px solid rgba(255, 193, 7, 0.2);
    color: #856404;
}

.gurifx-notice-success {
    background: rgba(40, 167, 69, 0.1);
    border: 1px solid rgba(40, 167, 69, 0.2);
    color: #155724;
}

.gurifx-notice-error {
    background: rgba(220, 53, 69, 0.1);
    border: 1px solid rgba(220, 53, 69, 0.2);
    color: #721c24;
}

.gurifx-notice i {
    font-size: 20px;
    margin-top: 2px;
}

.gurifx-notice h4 {
    margin: 0 0 8px 0;
    font-size: 16px;
}

.gurifx-notice p {
    margin: 0 0 8px 0;
    line-height: 1.4;
}

.gurifx-notice p:last-child {
    margin-bottom: 0;
}

/* Modal Styles */
.gurifx-modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(4px);
}

.gurifx-modal-content {
    background-color: var(--gurifx-white);
    margin: 5% auto;
    border-radius: var(--gurifx-border-radius-lg);
    box-shadow: var(--gurifx-shadow-lg);
    width: 90%;
    max-width: 500px;
    max-height: 90vh;
    overflow-y: auto;
    animation: modalSlideIn 0.3s ease;
}

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

.gurifx-modal-header {
    padding: 24px 30px;
    border-bottom: 1px solid var(--gurifx-gray-200);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.gurifx-modal-header h2 {
    margin: 0;
    font-size: 20px;
    font-weight: 600;
    color: var(--gurifx-gray-800);
}

.gurifx-modal-close {
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: var(--gurifx-gray-400);
    transition: var(--gurifx-transition);
    padding: 4px;
}

.gurifx-modal-close:hover {
    color: var(--gurifx-gray-600);
}

.gurifx-modal-body {
    padding: 30px;
}

.gurifx-form-actions {
    display: flex;
    gap: 12px;
    justify-content: flex-end;
    margin-top: 24px;
}

/* Alert System */
#gurifx-alert-container {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 10000;
    max-width: 400px;
}

.gurifx-alert {
    background: var(--gurifx-white);
    border-radius: var(--gurifx-border-radius);
    box-shadow: var(--gurifx-shadow-lg);
    padding: 16px 20px;
    margin-bottom: 12px;
    display: flex;
    align-items: flex-start;
    gap: 12px;
    animation: alertSlideIn 0.3s ease;
    border-left: 4px solid;
}

@keyframes alertSlideIn {
    from { opacity: 0; transform: translateX(100%); }
    to { opacity: 1; transform: translateX(0); }
}

.gurifx-alert-success {
    border-left-color: var(--gurifx-success);
    color: #155724;
}

.gurifx-alert-error {
    border-left-color: var(--gurifx-danger);
    color: #721c24;
}

.gurifx-alert-warning {
    border-left-color: var(--gurifx-warning);
    color: #856404;
}

.gurifx-alert-info {
    border-left-color: var(--gurifx-info);
    color: #0c5460;
}

.gurifx-alert-icon {
    font-size: 18px;
    margin-top: 1px;
}

.gurifx-alert-content {
    flex: 1;
}

.gurifx-alert-title {
    font-weight: 600;
    margin: 0 0 4px 0;
    font-size: 14px;
}

.gurifx-alert-message {
    margin: 0;
    font-size: 13px;
    opacity: 0.9;
}

.gurifx-alert-close {
    background: none;
    border: none;
    cursor: pointer;
    opacity: 0.6;
    font-size: 16px;
    padding: 0;
}

.gurifx-alert-close:hover {
    opacity: 1;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .gurifx-sidebar {
        transform: translateX(-100%);
        transition: transform 0.3s ease;
    }
    
    .gurifx-sidebar.open {
        transform: translateX(0);
    }
    
    .gurifx-main {
        margin-left: 0;
    }
    
    .gurifx-header {
        padding-left: 20px;
    }
}

@media (max-width: 768px) {
    .gurifx-auth-card {
        max-width: 100%;
        margin: 0 10px;
    }
    
    .gurifx-auth-header,
    .gurifx-auth-form-container {
        padding: 30px 24px;
    }
    
    .gurifx-form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }
    
    .gurifx-stats-grid {
        grid-template-columns: 1fr;
    }
    
    .gurifx-accounts-grid,
    .gurifx-brokers-grid,
    .gurifx-tools-grid,
    .gurifx-signals-container {
        grid-template-columns: 1fr;
        padding: 20px;
    }
    
    .gurifx-header {
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }
    
    .gurifx-header h1 {
        font-size: 20px;
    }
    
    .gurifx-user-info {
        flex-direction: column;
        gap: 12px;
    }
    
    .gurifx-tab-content {
        padding: 20px;
    }
    
    .gurifx-table-container {
        padding: 0 20px 20px;
    }
    
    .gurifx-card > h2,
    .gurifx-card-header {
        padding: 20px 20px 0;
    }
    
    .gurifx-profile-info,
    .gurifx-level-progress {
        padding: 20px;
    }
}

@media (max-width: 480px) {
    .gurifx-auth-header,
    .gurifx-auth-form-container {
        padding: 24px 20px;
    }
    
    .gurifx-modal-content {
        width: 95%;
        margin: 10% auto;
    }
    
    .gurifx-modal-header,
    .gurifx-modal-body {
        padding: 20px;
    }
    
    .gurifx-profile-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }
    
    .gurifx-form-actions {
        flex-direction: column;
    }
    
    .gurifx-btn {
        width: 100%;
    }
}

/* Print Styles */
@media print {
    .gurifx-sidebar,
    .gurifx-header,
    .gurifx-btn,
    .gurifx-modal {
        display: none !important;
    }
    
    .gurifx-main {
        margin-left: 0;
    }
    
    .gurifx-card {
        box-shadow: none;
        border: 1px solid #ddd;
    }
}

/* High Contrast Mode */
@media (prefers-contrast: high) {
    :root {
        --gurifx-primary: #000000;
        --gurifx-secondary: #000000;
        --gurifx-gray-200: #000000;
        --gurifx-gray-300: #000000;
    }
    
    .gurifx-btn-primary {
        background: #000000;
        border: 2px solid #000000;
    }
    
    .gurifx-btn-secondary {
        background: #ffffff;
        color: #000000;
        border: 2px solid #000000;
    }
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}
