/* FastAutoTrading - Luxury Gold & Black Theme */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 50%, #2d1810 100%);
    color: #f5f5f5;
    min-height: 100vh;
    line-height: 1.6;
}

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

/* Header Styles */
.header {
    background: linear-gradient(135deg, #1a1a1a 0%, #2d1810 100%);
    border-bottom: 2px solid #d4af37;
    padding: 20px 0;
    box-shadow: 0 4px 20px rgba(212, 175, 55, 0.3);
}

.header h1 {
    color: #d4af37;
    text-align: center;
    font-size: 2.5em;
    font-weight: 700;
    text-shadow: 0 0 20px rgba(212, 175, 55, 0.5);
    letter-spacing: 2px;
}

.header .subtitle {
    color: #ffd700;
    text-align: center;
    font-size: 1.1em;
    margin-top: 10px;
    opacity: 0.9;
}

/* Navigation */
.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 20px;
    padding: 0 20px;
}

.nav a {
    color: #d4af37;
    text-decoration: none;
    padding: 12px 24px;
    border: 1px solid #d4af37;
    border-radius: 25px;
    transition: all 0.3s ease;
    font-weight: 500;
    background: rgba(212, 175, 55, 0.1);
}

.nav a:hover {
    background: #d4af37;
    color: #000;
    box-shadow: 0 0 20px rgba(212, 175, 55, 0.6);
    transform: translateY(-2px);
}

/* Form Styles */
.form-container {
    max-width: 450px;
    margin: 40px auto;
    background: linear-gradient(135deg, #1a1a1a 0%, #2d1810 100%);
    padding: 40px;
    border-radius: 15px;
    border: 1px solid #d4af37;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5), 
                0 0 40px rgba(212, 175, 55, 0.2);
}

.form-container h2 {
    color: #d4af37;
    text-align: center;
    margin-bottom: 30px;
    font-size: 1.8em;
    text-shadow: 0 0 10px rgba(212, 175, 55, 0.3);
}

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

label {
    display: block;
    color: #ffd700;
    margin-bottom: 8px;
    font-weight: 500;
}

input[type="email"],
input[type="password"],
input[type="text"],
select {
    width: 100%;
    padding: 15px;
    background: rgba(26, 26, 26, 0.8);
    border: 1px solid #444;
    border-radius: 8px;
    color: #f5f5f5;
    font-size: 16px;
    transition: all 0.3s ease;
}

input[type="email"]:focus,
input[type="password"]:focus,
input[type="text"]:focus,
select:focus {
    outline: none;
    border-color: #d4af37;
    box-shadow: 0 0 15px rgba(212, 175, 55, 0.3);
    background: rgba(26, 26, 26, 0.9);
}

/* Button Styles */
.btn {
    display: inline-block;
    padding: 15px 30px;
    background: linear-gradient(135deg, #d4af37 0%, #ffd700 100%);
    color: #000;
    border: none;
    border-radius: 25px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    text-align: center;
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.3);
}

.btn:hover {
    background: linear-gradient(135deg, #ffd700 0%, #d4af37 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(212, 175, 55, 0.4);
}

.btn-primary {
    width: 100%;
    margin-top: 20px;
}

.btn-secondary {
    background: transparent;
    color: #d4af37;
    border: 1px solid #d4af37;
}

.btn-secondary:hover {
    background: #d4af37;
    color: #000;
}

.btn-danger {
    background: linear-gradient(135deg, #dc3545 0%, #c82333 100%);
    color: #fff;
}

.btn-success {
    background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
    color: #fff;
}

/* Dashboard Styles */
.dashboard {
    padding: 40px 20px;
}

.user-info {
    background: linear-gradient(135deg, #1a1a1a 0%, #2d1810 100%);
    padding: 30px;
    border-radius: 15px;
    border: 1px solid #d4af37;
    margin-bottom: 30px;
    text-align: center;
}

.user-info h2 {
    color: #d4af37;
    margin-bottom: 15px;
}

.user-info p {
    color: #ffd700;
    font-size: 1.1em;
}

/* Account Cards */
.accounts-grid {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-top: 30px;
}

.account-card {
    background: linear-gradient(135deg, #1a1a1a 0%, #2d1810 100%);
    border: 1px solid #d4af37;
    border-radius: 15px;
    padding: 25px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
    display: block;
    min-height: 120px;
}

.account-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 35px rgba(212, 175, 55, 0.2);
}

.account-card h3 {
    color: #d4af37;
    margin-bottom: 15px;
    font-size: 1.4em;
}

.account-info {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    margin-bottom: 20px;
}

.info-item {
    background: rgba(26, 26, 26, 0.5);
    padding: 12px;
    border-radius: 8px;
    border-left: 3px solid #d4af37;
}

.info-label {
    color: #ffd700;
    font-size: 0.9em;
    margin-bottom: 5px;
}

.info-value {
    color: #f5f5f5;
    font-weight: 600;
}

.account-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.account-actions .btn {
    flex: 1;
    min-width: 100px;
    padding: 10px 15px;
    font-size: 14px;
}

/* Telemetry Grid */
.telemetry-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
    margin: 15px 0;
    flex: 1;
}

.telemetry-item {
    background: rgba(26, 26, 26, 0.5);
    padding: 12px;
    border-radius: 8px;
    border-left: 3px solid #d4af37;
    text-align: center;
}

.telemetry-label {
    color: #ffd700;
    font-size: 0.85em;
    margin-bottom: 5px;
    font-weight: 500;
}

.telemetry-value {
    color: #f5f5f5;
    font-weight: 600;
    font-size: 1.1em;
}

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

.modal-content {
    background: linear-gradient(135deg, #1a1a1a 0%, #2d1810 100%);
    margin: 8% auto;
    padding: 40px;
    border: 1px solid #d4af37;
    border-radius: 15px;
    width: 90%;
    max-width: 500px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.6);
}

.close {
    color: #d4af37;
    float: right;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    transition: color 0.3s ease;
}

.close:hover {
    color: #ffd700;
}

/* Alert Styles */
.alert {
    padding: 15px 20px;
    margin: 20px 0;
    border-radius: 8px;
    border-left: 4px solid;
    font-weight: 500;
}

.alert-success {
    background: rgba(40, 167, 69, 0.2);
    color: #20c997;
    border-left-color: #28a745;
}

.alert-error {
    background: rgba(220, 53, 69, 0.2);
    color: #f8d7da;
    border-left-color: #dc3545;
}

.alert-warning {
    background: rgba(255, 193, 7, 0.2);
    color: #ffeaa7;
    border-left-color: #ffc107;
}

/* Status Indicators */
.status {
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.85em;
    font-weight: 600;
    text-transform: uppercase;
}

.status-active {
    background: rgba(40, 167, 69, 0.2);
    color: #20c997;
    border: 1px solid #28a745;
}

.status-stopped {
    background: rgba(220, 53, 69, 0.2);
    color: #f8d7da;
    border: 1px solid #dc3545;
}

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

/* Responsive Design */
@media (max-width: 768px) {
    .header h1 {
        font-size: 2em;
    }
    
    .form-container {
        margin: 20px;
        padding: 30px 20px;
    }
    
    .accounts-grid {
        grid-template-columns: 1fr;
    }
    
    .account-actions {
        flex-direction: column;
    }
    
    .nav {
        flex-direction: column;
        gap: 15px;
    }
}

/* Loading Animation */
.loading {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(212, 175, 55, 0.3);
    border-radius: 50%;
    border-top-color: #d4af37;
    animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Scrollbar Styling */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #1a1a1a;
}

::-webkit-scrollbar-thumb {
    background: #d4af37;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #ffd700;
}
