/* Reset et base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: #f8fafc;
    color: #1e293b;
    line-height: 1.6;
}

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

/* Header */
.header {
    background: #ffffff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 20px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-icon {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #3b82f6, #1d4ed8);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 18px;
}

.logo-text {
    display: flex;
    flex-direction: column;
}

.free {
    font-size: 14px;
    font-weight: 600;
    color: #06b6d4;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.title {
    font-size: 18px;
    font-weight: 700;
    color: #1e293b;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.btn-settings {
    width: 40px;
    height: 40px;
    background: #1e293b;
    border: none;
    border-radius: 8px;
    color: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.btn-settings:hover {
    background: #334155;
    transform: translateY(-2px);
}

.btn-language {
    background: #6366f1;
    color: white;
    border: none;
    padding: 8px 16px;
    border-radius: 8px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
}

.btn-language:hover {
    background: #4f46e5;
    transform: translateY(-2px);
}

/* Language Dropdown */
.language-selector {
    position: relative;
}

.language-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
    min-width: 200px;
    z-index: 1000;
    display: none;
    margin-top: 4px;
}

.language-dropdown.show {
    display: block;
}

.language-option {
    display: flex;
    align-items: center;
    padding: 12px 16px;
    cursor: pointer;
    transition: background-color 0.2s ease;
    border-bottom: 1px solid #f1f5f9;
}

.language-option:last-child {
    border-bottom: none;
}

.language-option:hover {
    background-color: #f8fafc;
}

.language-option.active {
    background-color: #f1f5f9;
}

.lang-code {
    font-weight: 600;
    font-size: 14px;
    color: #1e293b;
    min-width: 30px;
}

.lang-info {
    flex: 1;
    margin-left: 12px;
}

.lang-name {
    font-weight: 600;
    font-size: 14px;
    color: #1e293b;
    margin-bottom: 2px;
}

.lang-name-en {
    font-size: 12px;
    color: #64748b;
}

.lang-indicator {
    color: #1e293b;
    font-weight: bold;
    font-size: 16px;
}

/* Theme Toggle */
.theme-toggle {
    margin: 0 8px;
}

.btn-theme {
    width: 40px;
    height: 40px;
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #1e293b;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.btn-theme i {
    transition: transform 0.3s ease, color 0.3s ease;
    display: block;
}

.btn-theme:hover i {
    color: #06b6d4;
    transform: scale(1.1);
}

.btn-theme:hover {
    background: #f8fafc;
    border-color: #cbd5e1;
}

.btn-theme.dark {
    background: #1e293b;
    color: white;
    border-color: #374151;
}

/* User Menu */
.user-menu {
    position: relative;
    margin-right: 8px;
}

.btn-user {
    background: white;
    color: #1e293b;
    border: 1px solid #e2e8f0;
    padding: 8px 16px;
    border-radius: 8px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.btn-user:hover {
    background: #f8fafc;
    border-color: #cbd5e1;
}

.user-dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
    min-width: 200px;
    z-index: 1000;
    display: none;
    margin-top: 4px;
}

.user-dropdown.show {
    display: block;
}

.user-option {
    display: flex;
    align-items: center;
    padding: 12px 16px;
    cursor: pointer;
    transition: background-color 0.2s ease;
    border-bottom: 1px solid #f1f5f9;
}

.user-option:last-child {
    border-bottom: none;
}

.user-option:hover {
    background-color: #f8fafc;
}

.user-option.active {
    background-color: #f1f5f9;
}

.user-option.logout {
    color: #dc2626;
}

.user-option i {
    margin-right: 12px;
    width: 16px;
    text-align: center;
}

.user-option span {
    flex: 1;
    font-weight: 500;
}

.user-option .fa-chevron-right {
    margin-left: auto;
    margin-right: 0;
    font-size: 12px;
}

/* User Submenu */
.user-option.has-submenu {
    cursor: pointer;
}

.user-option.has-submenu:hover {
    background-color: #f8fafc;
}

.submenu-arrow {
    transition: transform 0.3s ease;
}

.user-option.has-submenu.open .submenu-arrow {
    transform: rotate(90deg);
}

.user-submenu {
    display: none;
    background: #f8fafc;
    border-left: 3px solid #06b6d4;
    margin-left: 20px;
    border-radius: 0 8px 8px 0;
}

.user-submenu.show {
    display: block;
}

.user-suboption {
    display: flex;
    align-items: center;
    padding: 10px 16px;
    cursor: pointer;
    transition: background-color 0.2s ease;
    border-bottom: 1px solid #e2e8f0;
    font-size: 14px;
}

.user-suboption:last-child {
    border-bottom: none;
}

.user-suboption:hover {
    background-color: #e2e8f0;
}

.user-suboption i {
    margin-right: 12px;
    width: 16px;
    text-align: center;
    font-size: 14px;
}

.user-suboption span {
    flex: 1;
    font-weight: 500;
}

/* Submenu option colors */
.user-suboption.cancel {
    color: #dc2626;
}

.user-suboption.cancel i {
    color: #dc2626;
}

.user-suboption.suspend {
    color: #f59e0b;
}

.user-suboption.suspend i {
    color: #f59e0b;
}

.user-suboption.delete {
    color: #dc2626;
}

.user-suboption.delete i {
    color: #dc2626;
}

.user-suboption:hover.cancel {
    background-color: #fef2f2;
}

.user-suboption:hover.suspend {
    background-color: #fffbeb;
}

.user-suboption:hover.delete {
    background-color: #fef2f2;
}

.btn-login, .btn-register {
    padding: 10px 20px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.3s ease;
}

.btn-login {
    background: #6366f1;
    color: white;
}

.btn-register {
    background: #8b5cf6;
    color: white;
}

.btn-login:hover, .btn-register:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* Main Content */
.main-content {
    padding: 2rem 0;
}

/* Data Section */
.data-section {
    margin-bottom: 3rem;
}

.data-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.data-btn {
    padding: 16px 32px;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    font-weight: 600;
    font-size: 16px;
    display: flex;
    align-items: center;
    gap: 12px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.forex-btn, .crypto-btn {
    background: #1e293b;
    color: white;
}

.tracking-btn {
    background: linear-gradient(135deg, #06b6d4, #0891b2);
    color: white;
}

.status-dot {
    width: 8px;
    height: 8px;
    background: #10b981;
    border-radius: 50%;
    animation: pulse 2s infinite;
}

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

.data-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

/* Timeframes Section */
.timeframes-section {
    margin-bottom: 3rem;
}

.section-title {
    text-align: center;
    font-size: 24px;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 2rem;
}

.timeframes-container {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 20px;
}

.timeframes {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    justify-content: center;
}

.timeframe-btn {
    padding: 12px 24px;
    border: 2px solid #e2e8f0;
    background: white;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.3s ease;
}

.timeframe-btn.active {
    background: #1e293b;
    color: white;
    border-color: #1e293b;
}

.timeframe-btn:hover {
    border-color: #3b82f6;
    color: #3b82f6;
}

.asset-type-container {
    display: flex;
    justify-content: center;
    align-items: center;
}

.asset-type {
    display: flex;
    gap: 8px;
}

.asset-btn {
    padding: 12px 24px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.3s ease;
}

.asset-btn.active {
    background: #374151;
    color: white;
}

.asset-btn:not(.active) {
    background: #6366f1;
    color: white;
}

.asset-btn:hover {
    transform: translateY(-2px);
}

/* Search Section */
.search-section {
    margin-bottom: 3rem;
}

.search-container {
    position: relative;
    max-width: 600px;
    margin: 0 auto;
}

/* Search Dropdown */
.search-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    border: 2px solid #e2e8f0;
    border-top: none;
    border-radius: 0 0 12px 12px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
    z-index: 1000;
    display: none;
    max-height: 300px;
    overflow-y: auto;
}

.search-dropdown.show {
    display: block;
}

.search-results {
    max-height: 200px;
    overflow-y: auto;
}

.search-result-item {
    display: flex;
    align-items: center;
    padding: 12px 16px;
    cursor: pointer;
    transition: background-color 0.2s ease;
    border-bottom: 1px solid #f1f5f9;
}

.search-result-item:last-child {
    border-bottom: none;
}

.search-result-item:hover {
    background-color: #f8fafc;
}

.search-result-item.selected {
    background-color: #e0f2fe;
    color: #0369a1;
}

.search-result-item .asset-pair {
    font-weight: 600;
    font-size: 14px;
    margin-right: 8px;
}

.search-result-item .asset-type {
    font-size: 12px;
    color: #64748b;
    background: #f1f5f9;
    padding: 2px 8px;
    border-radius: 12px;
}

.search-actions {
    padding: 12px 16px;
    border-top: 1px solid #e2e8f0;
    background: #f8fafc;
}

.add-to-grid-btn {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 16px;
    background: #06b6d4;
    color: white;
    border: none;
    border-radius: 8px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.add-to-grid-btn:hover {
    background: #0891b2;
    transform: translateY(-1px);
}

.add-to-grid-btn:disabled {
    background: #cbd5e1;
    cursor: not-allowed;
    transform: none;
}

.search-icon {
    position: absolute;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    color: #64748b;
    font-size: 18px;
}

.search-input {
    width: 100%;
    padding: 16px 20px 16px 60px;
    border: 2px solid #06b6d4;
    border-radius: 50px;
    font-size: 16px;
    background: white;
    transition: all 0.3s ease;
}

.search-input:focus {
    outline: none;
    border-color: #0891b2;
    box-shadow: 0 0 0 3px rgba(6, 182, 212, 0.1);
}

/* Signals Grid */
.signals-section {
    margin-bottom: 4rem;
}

.signals-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 20px;
}

.signal-card {
    background: white;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    border: 1px solid #e2e8f0;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.signal-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.signal-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #10b981, #059669);
}

.signal-card.loss::before {
    background: linear-gradient(90deg, #ef4444, #dc2626);
}

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

.signal-pair {
    display: flex;
    align-items: center;
    gap: 12px;
}

.pair-flags {
    display: flex;
    gap: 4px;
}

.flag {
    width: 24px;
    height: 18px;
    border-radius: 3px;
    background: #e2e8f0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
}

.signal-title {
    font-weight: 600;
    color: #1e293b;
}

.signal-icon {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
}

.signal-icon.profit {
    background: #dcfce7;
    color: #16a34a;
}

.signal-icon.loss {
    background: #fef2f2;
    color: #dc2626;
}

.signal-details {
    margin-bottom: 16px;
}

.signal-duration {
    color: #64748b;
    font-size: 14px;
    margin-bottom: 8px;
}

.signal-status {
    display: inline-block;
    padding: 4px 12px;
    background: #dcfce7;
    color: #16a34a;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 500;
    margin-bottom: 12px;
}

.trade-details {
    display: flex;
    justify-content: space-between;
    margin-bottom: 12px;
    font-size: 14px;
}

.trade-detail {
    color: #64748b;
}

.trade-value {
    font-weight: 600;
    color: #1e293b;
}

.signal-result {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px;
    background: #f8fafc;
    border-radius: 8px;
}

.result-label {
    font-weight: 500;
    color: #64748b;
}

.result-value {
    font-weight: 700;
    font-size: 18px;
}

.result-value.profit {
    color: #16a34a;
}

.result-value.loss {
    color: #dc2626;
}

/* Educational Section */
.educational-section {
    background: white;
    padding: 3rem 0;
    margin: 2rem 0;
}

.educational-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}

.educational-card {
    background: #1e293b;
    color: white;
    padding: 24px;
    border-radius: 12px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.educational-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.educational-card i {
    font-size: 32px;
    margin-bottom: 16px;
    color: #06b6d4;
}

.educational-card h3 {
    font-size: 16px;
    font-weight: 600;
}

/* Footer */
.footer {
    background: #1e293b;
    color: white;
    padding: 4rem 0 2rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-logo {
    margin-bottom: 1rem;
}

.footer-logo-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #3b82f6, #1d4ed8);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 24px;
    margin-bottom: 12px;
}

.footer-logo h3 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 12px;
}

.footer-description {
    color: #94a3b8;
    line-height: 1.6;
    margin-bottom: 20px;
}

.social-links {
    display: flex;
    gap: 12px;
}

.social-link {
    width: 40px;
    height: 40px;
    background: #374151;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-link:hover {
    background: #06b6d4;
    transform: translateY(-2px);
}

.footer-column h4 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 16px;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 8px;
}

.footer-links a {
    color: #94a3b8;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: #06b6d4;
}

.newsletter-form {
    display: flex;
    gap: 8px;
    margin-top: 16px;
}

.newsletter-input {
    flex: 1;
    padding: 12px 16px;
    border: 1px solid #374151;
    border-radius: 8px;
    background: #374151;
    color: white;
    font-size: 14px;
}

.newsletter-input::placeholder {
    color: #94a3b8;
}

.newsletter-input:focus {
    outline: none;
    border-color: #06b6d4;
}

.newsletter-btn {
    padding: 12px 20px;
    background: #06b6d4;
    color: white;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.3s ease;
}

.newsletter-btn:hover {
    background: #0891b2;
    transform: translateY(-2px);
}

.footer-bottom {
    border-top: 1px solid #374151;
    padding-top: 2rem;
    text-align: center;
    color: #94a3b8;
    font-size: 14px;
}

.footer-bottom p {
    margin-bottom: 8px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .header .container {
        flex-direction: column;
        gap: 1rem;
    }
    
    .header-actions {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .data-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .timeframes-container {
        flex-direction: column;
        align-items: center;
    }
    
    .timeframes {
        justify-content: center;
    }
    
    .signals-grid {
        grid-template-columns: 1fr;
    }
    
    .educational-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .newsletter-form {
        flex-direction: column;
    }
}

/* Loading Animation */
.loading {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 2rem;
}

.spinner {
    width: 40px;
    height: 40px;
    border: 4px solid #e2e8f0;
    border-top: 4px solid #06b6d4;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Success/Error Messages */
.message {
    padding: 12px 20px;
    border-radius: 8px;
    margin-bottom: 1rem;
    font-weight: 500;
}

.message.success {
    background: #dcfce7;
    color: #16a34a;
    border: 1px solid #bbf7d0;
}

.message.error {
    background: #fef2f2;
    color: #dc2626;
    border: 1px solid #fecaca;
}

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

/* Password Input Container */
.password-input-container {
    position: relative;
    display: flex;
    align-items: center;
}

.password-input-container input {
    padding-right: 45px;
    width: 100%;
}

.toggle-password {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    cursor: pointer;
    color: #6b7280;
    font-size: 16px;
    padding: 4px;
    transition: color 0.3s ease;
}

.toggle-password:hover {
    color: #06b6d4;
}

/* Form Options */
.form-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 15px 0;
    flex-wrap: wrap;
    gap: 10px;
}

.remember-me {
    display: flex;
    align-items: center;
    cursor: pointer;
    font-size: 14px;
    color: #6b7280;
    user-select: none;
}

.remember-me input[type="checkbox"] {
    margin-right: 8px;
    width: 16px;
    height: 16px;
    accent-color: #06b6d4;
}

.forgot-password {
    color: #06b6d4;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s ease;
}

.forgot-password:hover {
    color: #0891b2;
    text-decoration: underline;
}

/* Dark theme for form options */
.dark-theme .remember-me {
    color: #9ca3af;
}

.dark-theme .forgot-password {
    color: #06b6d4;
}

.dark-theme .forgot-password:hover {
    color: #0891b2;
}

.dark-theme .toggle-password {
    color: #9ca3af;
}

.dark-theme .toggle-password:hover {
    color: #06b6d4;
}

/* Password Input Container */
.password-input-container {
    position: relative;
    display: flex;
    align-items: center;
}

.password-input-container input {
    padding-right: 45px;
    width: 100%;
}

.toggle-password {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: #64748b;
    cursor: pointer;
    padding: 5px;
    border-radius: 4px;
    transition: color 0.3s ease;
}

.toggle-password:hover {
    color: #06b6d4;
}

.toggle-password i {
    font-size: 16px;
}

/* Form Options */
.form-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 15px 0;
    flex-wrap: wrap;
    gap: 10px;
}

.remember-me {
    display: flex;
    align-items: center;
    cursor: pointer;
    font-size: 14px;
    color: #64748b;
}

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

.checkmark {
    width: 18px;
    height: 18px;
    border: 2px solid #d1d5db;
    border-radius: 4px;
    margin-right: 8px;
    position: relative;
    transition: all 0.3s ease;
}

.remember-me input[type="checkbox"]:checked + .checkmark {
    background-color: #06b6d4;
    border-color: #06b6d4;
}

.remember-me input[type="checkbox"]:checked + .checkmark::after {
    content: '✓';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-size: 12px;
    font-weight: bold;
}

.forgot-password {
    color: #06b6d4;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s ease;
}

.forgot-password:hover {
    color: #0891b2;
    text-decoration: underline;
}

.modal-content {
    background-color: white;
    margin: 5% auto;
    padding: 2rem;
    border-radius: 12px;
    width: 90%;
    max-width: 400px;
    position: relative;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    position: absolute;
    right: 20px;
    top: 15px;
}

.close:hover {
    color: #000;
}

.modal h2 {
    margin-bottom: 1.5rem;
    color: #1e293b;
    text-align: center;
}

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

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: #374151;
}

.form-group input {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    font-size: 16px;
    transition: border-color 0.3s ease;
}

.form-group input:focus {
    outline: none;
    border-color: #06b6d4;
}

.btn-submit {
    width: 100%;
    padding: 12px;
    background: #06b6d4;
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 1rem;
}

.btn-submit:hover {
    background: #0891b2;
    transform: translateY(-2px);
}

.modal-footer {
    text-align: center;
    margin-top: 1rem;
    color: #64748b;
}

.modal-footer a {
    color: #06b6d4;
    text-decoration: none;
    font-weight: 500;
}

.modal-footer a:hover {
    text-decoration: underline;
}

/* Signal Card Enhancements */
.signal-card {
    position: relative;
}

.signal-pin {
    position: absolute;
    top: 10px;
    right: 10px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    padding: 4px 8px;
    font-size: 12px;
    color: #64748b;
    cursor: pointer;
    transition: all 0.3s ease;
}

.signal-pin:hover {
    background: #06b6d4;
    color: white;
}

.signal-pin.pinned {
    background: #06b6d4;
    color: white;
}

.signal-timeframe {
    position: absolute;
    top: 10px;
    left: 10px;
    background: #1e293b;
    color: white;
    padding: 4px 8px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 500;
}

.signal-status-badge {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 500;
    margin-bottom: 12px;
}

.signal-status-badge.active {
    background: #dcfce7;
    color: #16a34a;
}

.signal-status-badge.expired {
    background: #fef2f2;
    color: #dc2626;
}

.signal-status-badge.executed {
    background: #dbeafe;
    color: #2563eb;
}

/* Unique Features */
.ai-powered-badge {
    background: linear-gradient(135deg, #8b5cf6, #06b6d4);
    color: white;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 8px;
    display: inline-block;
}

.signal-confidence {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
}

.confidence-bar {
    flex: 1;
    height: 4px;
    background: #e2e8f0;
    border-radius: 2px;
    overflow: hidden;
}

.confidence-fill {
    height: 100%;
    background: linear-gradient(90deg, #ef4444, #f59e0b, #10b981);
    border-radius: 2px;
    transition: width 0.3s ease;
}

.confidence-text {
    font-size: 12px;
    color: #64748b;
    font-weight: 500;
}

.signal-ai-analysis {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 12px;
    margin-top: 12px;
    font-size: 13px;
    color: #64748b;
}

.signal-ai-analysis strong {
    color: #1e293b;
}


/* Enhanced Signal Grid */
.signals-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(380px, 1fr));
    gap: 20px;
}

/* Real-time indicator */
.real-time-indicator {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #dcfce7;
    color: #16a34a;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 500;
    margin-bottom: 8px;
}

.real-time-indicator .pulse {
    width: 6px;
    height: 6px;
    background: #16a34a;
    border-radius: 50%;
    animation: pulse 2s infinite;
}

/* Mode Sombre */
.dark-theme {
    background-color: #0f172a;
    color: #e2e8f0;
}

.dark-theme .header {
    background: #1e293b;
    border-bottom: 1px solid #374151;
}

.dark-theme .main-content {
    background-color: #0f172a;
}

.dark-theme .signal-card {
    background: #1e293b;
    border-color: #374151;
    color: #e2e8f0;
}

.dark-theme .signal-card::before {
    background: linear-gradient(90deg, #10b981, #059669);
}

.dark-theme .signal-card.loss::before {
    background: linear-gradient(90deg, #ef4444, #dc2626);
}

.dark-theme .educational-section {
    background: #1e293b;
}

.dark-theme .educational-card {
    background: #0f172a;
    border: 1px solid #374151;
}

.dark-theme .footer {
    background: #0f172a;
}

.dark-theme .language-dropdown,
.dark-theme .user-dropdown {
    background: #1e293b;
    border-color: #374151;
}

.dark-theme .language-option,
.dark-theme .user-option {
    color: #e2e8f0;
    border-bottom-color: #374151;
}

.dark-theme .language-option:hover,
.dark-theme .user-option:hover {
    background-color: #374151;
}

.dark-theme .language-option.active,
.dark-theme .user-option.active {
    background-color: #374151;
}

.dark-theme .btn-theme {
    background: #1e293b;
    color: #e2e8f0;
    border-color: #374151;
}

.dark-theme .btn-theme:hover {
    background: #374151;
}

.dark-theme .btn-theme:hover i {
    color: #06b6d4;
}

/* Animation de rotation pour l'icône */
.btn-theme i.rotating {
    animation: themeRotate 0.3s ease-in-out;
}

@keyframes themeRotate {
    0% { transform: rotate(0deg) scale(1); }
    50% { transform: rotate(180deg) scale(1.2); }
    100% { transform: rotate(360deg) scale(1); }
}

.dark-theme .btn-user {
    background: #1e293b;
    color: #e2e8f0;
    border-color: #374151;
}

.dark-theme .btn-user:hover {
    background: #374151;
}

.dark-theme .user-submenu {
    background: #374151;
    border-left-color: #06b6d4;
}

.dark-theme .user-suboption {
    color: #e2e8f0;
    border-bottom-color: #4b5563;
}

.dark-theme .user-suboption:hover {
    background-color: #4b5563;
}

.dark-theme .user-suboption.cancel {
    color: #fca5a5;
}

.dark-theme .user-suboption.cancel i {
    color: #fca5a5;
}

.dark-theme .user-suboption.suspend {
    color: #fbbf24;
}

.dark-theme .user-suboption.suspend i {
    color: #fbbf24;
}

.dark-theme .user-suboption.delete {
    color: #fca5a5;
}

.dark-theme .user-suboption.delete i {
    color: #fca5a5;
}

.dark-theme .user-suboption:hover.cancel {
    background-color: #7f1d1d;
}

.dark-theme .user-suboption:hover.suspend {
    background-color: #78350f;
}

.dark-theme .user-suboption:hover.delete {
    background-color: #7f1d1d;
}

/* Dark theme for search dropdown */
.dark-theme .search-dropdown {
    background: #1e293b;
    border-color: #374151;
}

.dark-theme .search-result-item {
    color: #e2e8f0;
    border-bottom-color: #374151;
}

.dark-theme .search-result-item:hover {
    background-color: #374151;
}

.dark-theme .search-result-item.selected {
    background-color: #0f172a;
    color: #06b6d4;
}

.dark-theme .search-result-item .asset-type {
    background: #374151;
    color: #94a3b8;
}

.dark-theme .search-actions {
    background: #0f172a;
    border-top-color: #374151;
}

.dark-theme .add-to-grid-btn {
    background: #06b6d4;
}

.dark-theme .add-to-grid-btn:hover {
    background: #0891b2;
}

.dark-theme .add-to-grid-btn:disabled {
    background: #4b5563;
}

/* Dark theme for logo text */
.dark-theme .free {
    color: #06b6d4;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.dark-theme .title {
    color: #f8fafc;
}
