/* Base Styles */
:root {
    --primary-color: #3498db;
    --secondary-color: #4fd1c7;
    --danger-color: #e74c3c;
    --warning-color: #f39c12;
    --dark-color: #2c3e50;
    --light-color: #ecf0f1;
    --text-color: #333;
    --border-radius: 12px;
    --box-shadow: 0 2px 10px rgba(0, 0, 0, 0);
}

/* Landing Page Specific Colors */
:root {
    --landing-bg: linear-gradient(135deg, #00304f 0%, #002948 100%);
    --form-bg: rgba(255, 140, 66);
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1;
    color: var(--text-color);
    background-color: #202020;
}

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

button {
    cursor: pointer;
    padding: 8px 16px;
    background-color: var(--primary-color);
    color: white;
    border: 2px solid var(--dark-color);
    border-radius: var(--border-radius);
    font-size: 14px;
    transition: background-color 0.3s;
}

button:hover {
    background-color: #2980b9;
}

/* Header */
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
    background-color: rgb(46, 46, 47);
    box-shadow: var(--box-shadow);
}

.logo h1 {
    color: var(--primary-color);
    font-size: 1.5rem;
}

nav ul {
    display: flex;
    list-style: none;
}

nav ul li {
    margin-left: 1.5rem;
}

nav ul li a {
    color: var(--dark-color);
    font-weight: 500;
    padding: 0.5rem;
    transition: color 0.3s;
}

nav ul li a:hover {
    color: var(--primary-color);
}

nav ul li a.active {
    color: var(--primary-color);
    border-bottom: 2px solid var(--primary-color);
}

/* Main Content */
main {
    padding: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

/* Dashboard */
.dashboard h2 {
    margin-bottom: 0rem;
    color: var(--dark-color);
}

.stats-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 1rem;
    margin-bottom: 0rem;}

.stat-box {
    background-color: white;
    padding: 1rem;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
}

.stat-box h3 {
    color: var(--dark-color);
    font-size: 1rem;
    margin-bottom: 0rem;
}

.value {
    font-size: 1.8rem;
    font-weight: 600;
    margin-bottom: 0rem;
}

.change {
    font-size: 0.9rem;
    display: flex;
    align-items: center;
}

.change i {
    margin-left: 5px;
}

.change.positive {
    color: var(--secondary-color);
}

.change.negative {
    color: var(--danger-color);
}

.info {
    font-size: 0.9rem;
    color: #7f8c8d;
}

.status-active {
    color: var(--secondary-color);
    display: flex;
    align-items: center;
}

.status-active i {
    margin-left: 5px;
    font-size: 0.8rem;
}

#toggle-bot {
    margin-top: 10px;
    background-color: var(--warning-color);
}

#toggle-bot:hover {
    background-color: #e67e22;
}

/* Trades Section */
.trades-section {
    background-color: white;
    padding: 1.5rem;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0rem;
}

.table-container {
    overflow-x: auto;
}

table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 0.5rem;
}

table th, table td {
    padding: 0.8rem;
    text-align: left;
    border-bottom: 1px solid #ddd;
}

table th {
    background-color: #f8f9fa;
    font-weight: 600;
}

.action-btn {
    padding: 5px 8px;
    font-size: 0.8rem;
    margin-right: 5px;
}

.delete-btn {
    background-color: var(--danger-color);
}

.delete-btn:hover {
    background-color: #c0392b;
}

/* Trade Form */
#trade-form-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10;
}

.hidden {
    display: none !important;
}

.trade-form {
    background-color: white;
    padding: 2rem;
    border-radius: var(--border-radius);
    width: 90%;
    max-width: 500px;
}

.trade-form h3 {
    margin-bottom: 0rem;
    color: var(--dark-color);
}

.form-group {
    margin-bottom: 0.5rem;
}

label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

input, select {
    width: 100%;
    padding: 0.8rem;
    border: 2px solid #000000;
    border-radius: var(--border-radius);
    font-size: 1rem;
}

.form-actions {
    display: flex;
    justify-content: flex-end;
    gap: 0.5rem;
    margin-top: 0.5rem;
}

#cancel-trade {
    background-color: #95a5a6;
}

#cancel-trade:hover {
    background-color: #7f8c8d;
}

/* Footer */
footer {
    text-align: center;
    padding: 1rem;
    background-color: var(--dark-color);
    color: white;
    margin-top: 0.5rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    header {
        flex-direction: column;
        padding: 0.5rem;
    }
    
    .logo {
        margin-bottom: 0.5rem;
    }
    
    nav ul {
        justify-content: center;
    }
    
    nav ul li {
        margin: 0 0.5rem;
    }
    
    .stats-container {
        grid-template-columns: 1fr;
    }
    
    main {
        padding: 0rem;
    }
    
    .signup-form {
        width: 100%;
        padding: 1.5rem;
    }
}

/* Mobile-specific styles */
@media (max-width: 480px) {
    .landing-header {
        padding: 1rem 0;
    }
    
    .logo-container {
        flex-direction: column;
        margin-top: 0;
        text-align: center;
    }
    
    .robot-icon {
        height: 200px;
        margin: 0 auto 1rem;
    }
    
    .logo-text {
        height: 80px;
        margin: 0 auto;
    }
    
    .hero {
        padding: 0 1rem;
    }
    
    .slogan {
        font-size: 1rem;
    }
    
    .coming-soon {
        font-size: 0.9rem;
    }
    
    .signup-form {
        padding: 1rem;
        margin: 0 auto;
    }
    
    .checkbox-group {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .checkbox-item {
        margin-right: 0;
    }
}

/* Landing Page Styles */
.landing-page {
    background: var(--landing-bg);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.landing-page .container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 3rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.landing-header {
    text-align: center;
    padding: 0rem 0 0rem 0;
    background: none;
}

.logo-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-top: -1rem;

}

.robot-icon {
    height: 350px;
    width: auto;
    margin-left: -8rem;
    margin-right: 3rem;
}

.logo-text {
    height: 150px;
    width: auto;
    padding-inline-start: 1rem;
    margin-top: 5rem;
    margin-inline: -3rem;
}

.landing-main {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 3rem;
}

.hero {
    text-align: center;
    max-width: 700px;
}

.slogan {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    color: white;
}

.coming-soon {
    font-size: 1.2rem;
    color: #e0e0e0;
}

.signup-form {
    background-color: var(--form-bg);
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    padding: 1rem;
    width: 100%;
    max-width: 400px;
}

.signup-form h3 {
    text-align: center;
    margin-bottom: 0.5rem;
    color: var(--dark-color);
}

.interests p {
    font-weight: 500;
    margin-bottom: 0.5rem;
}

.checkbox-group {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 0rem;
}

.checkbox-item {
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

.checkbox-item input[type="checkbox"] {
    width: auto;
    margin-right: 0.5rem;
    border: 2px solid #000000;
}

.checkbox-item label {
    margin-bottom: 0rem;
    font-weight: normal;
    margin-inline-end: 1.5rem;
}

.submit-btn {
    background-color: var(--secondary-color);
    width: 100%;
    padding: 0.8rem;
    font-size: 1rem;
    font-weight: 600;
    margin-top: 0.5rem;
}

.submit-btn:hover {
    background-color: #27ae60;
}

#form-messages {
    margin-top: 0rem;
    text-align: center;
}

.landing-footer {
    text-align: center;
    padding: 0rem;
    margin-top: 1rem;
    color: #b0b0b0;
    background: none;
}

/* Verification Message Styles */
.verification-result {
    text-align: center;
    padding: 2rem;
    background: white;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    max-width: 600px;
    margin: 0 auto;
}

.success-message {
    color: #27ae60;
    font-weight: 500;
    font-size: 1.2rem;
}

.error-message {
    color: #e74c3c;
    font-weight: 500;
    font-size: 1.2rem;
}

.info-message {
    color: #3498db;
    font-weight: 500;
    font-size: 1.2rem;
}
