/* Variables */
:root {
    --primary-color: #00b386;
    --secondary-color: #008f6f;
    --background-color: #ffffff;
    --text-primary: #333333;
    --text-secondary: #666666;
    --border-color: #e5e5e5;
    --success-color: #00b386;
    --danger-color: #ff3b30;
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px rgba(0, 0, 0, 0.1);
}

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

body {
    background-color: #f5f5f5;
    color: #333;
    min-height: 100vh;
    padding-bottom: 56px;
}

/* Top Bar */
.top-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 16px;
    background-color: #fff;
}

.title {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 15px;
}

.actions {
    display: flex;
    gap: 20px;
}

.actions i {
    color: #666;
    font-size: 20px;
}

/* Market Indices */
.market-indices {
    padding: 12px 16px;
    background-color: #f5f5f5;
}

.index {
    margin-bottom: 12px;
}

.index:last-child {
    margin-bottom: 0;
}

.index-name {
    font-size: 13px;
    color: #666;
    margin-bottom: 2px;
}

.index-value {
    font-size: 15px;
    font-weight: 500;
    color: #333;
    margin-bottom: 2px;
}

.index-change {
    font-size: 13px;
    color: #666;
}

/* Tab Navigation */
.tab-navigation {
    display: flex;
    padding: 8px 16px;
    background-color: #fff;
    gap: 24px;
}

.tab {
    font-size: 14px;
    color: #666;
    padding: 4px 0;
}

.tab.active {
    color: #333;
}

/* Stock List */
.stock-list {
    background-color: #fff;
}

.stock-item {
    display: flex;
    justify-content: space-between;
    padding: 12px 16px;
    border-bottom: 1px solid #f0f0f0;
}

.stock-info {
    flex: 1;
}

.stock-name {
    font-size: 14px;
    font-weight: 500;
    color: #333;
    margin-bottom: 4px;
    display: flex;
    align-items: center;
    gap: 4px;
}

.exchange {
    font-size: 12px;
    color: #666;
}

.bid-offer {
    font-size: 12px;
    color: #666;
}

.bid, .offer {
    margin-right: 12px;
}

.stock-price {
    text-align: right;
}

.price {
    font-size: 15px;
    font-weight: 500;
    color: #333;
    margin-bottom: 4px;
}

.change {
    font-size: 12px;
    color: #00b386;
    background-color: #e6f8f4;
    padding: 2px 6px;
    border-radius: 4px;
    display: inline-block;
}

/* Bottom Navigation */
.bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: #fff;
    display: flex;
    justify-content: space-around;
    padding: 8px 0;
    border-top: 1px solid #f0f0f0;
}

.nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    color: #666;
    font-size: 10px;
    gap: 4px;
}

.nav-item i {
    font-size: 18px;
}

.nav-item.active {
    color: #00b386;
}

/* Main Content */
.main-content {
    padding: 20px;
    max-width: 1200px;
    margin: 0 auto;
}

/* User Info */
.user-info {
    display: flex;
    align-items: center;
    gap: 16px;
}

.notification {
    position: relative;
    font-size: 1.25rem;
    color: var(--text-secondary);
}

.notification::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 8px;
    height: 8px;
    background-color: var(--danger-color);
    border-radius: 50%;
    border: 2px solid var(--card-background);
}

.user-profile img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--primary-color);
}

/* Watchlist Styles */
.watchlist-container {
    background-color: var(--card-background);
    border-radius: 12px;
    margin-bottom: 20px;
    overflow: hidden;
}

.watchlist-header {
    padding: 16px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.card-title {
    font-size: 1.1rem;
    font-weight: 500;
    color: var(--text-primary);
    margin: 0;
    display: flex;
    align-items: center;
    gap: 10px;
}

.stocks-list-badge {
    background-color: var(--success-color);
    color: white;
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: 500;
}

.stock-search {
    position: relative;
}

.form-select {
    width: 100%;
    padding: 8px 12px;
    border: 1px solid var(--border-color);
    border-radius: 6px;
    background-color: var(--background-color);
    color: var(--text-primary);
    font-size: 0.875rem;
    cursor: pointer;
}

.watchlist-body {
    padding: 0;
}

.stock-info h6 {
    margin: 0;
    font-size: 1rem;
    color: var(--text-primary);
    font-weight: 500;
}

.stock-info p {
    margin: 4px 0 0;
    font-size: 0.8rem;
    color: var(--success-color);
}

.stock-price h6 {
    margin: 0;
    font-size: 1rem;
    color: var(--text-primary);
    font-weight: 500;
}

.stock-price .change {
    margin-top: 4px;
    font-size: 0.8rem;
}

.stock-price .change.positive {
    color: var(--success-color);
}

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

.accordion {
    border: none;
}

.accordion-item {
    border: none;
    border-bottom: 1px solid var(--border-color);
    background-color: transparent;
}

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

.accordion-header {
    background-color: transparent;
}

.accordion-button {
    background-color: transparent;
    padding: 0;
    border: none;
    box-shadow: none;
}

.accordion-button:not(.collapsed) {
    background-color: var(--background-color);
}

.accordion-button::after {
    display: none;
}

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

.detail-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;
    border-bottom: 1px solid var(--border-color);
}

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

.detail-item .label {
    color: var(--text-secondary);
    font-size: 0.875rem;
}

.detail-item .value {
    color: var(--text-primary);
    font-weight: 500;
    font-size: 0.875rem;
}

.stock-actions {
    display: flex;
    gap: 8px;
    margin-top: 16px;
}

.action-btn {
    padding: 8px 16px;
    border: none;
    border-radius: 6px;
    font-size: 0.875rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 6px;
}

.action-btn.chart {
    background-color: var(--background-color);
    color: var(--text-primary);
}

.action-btn.buy {
    background-color: var(--success-color);
    color: white;
}

.action-btn.sell {
    background-color: var(--danger-color);
    color: white;
}

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

.action-btn:hover {
    opacity: 0.9;
    transform: translateY(-1px);
}

/* Responsive Design */
@media (max-width: 768px) {
    .watchlist-header {
        flex-direction: column;
        gap: 16px;
    }

    .stock-search {
        width: 100%;
    }

    .stock-actions {
        flex-wrap: wrap;
    }

    .action-btn {
        flex: 1;
        min-width: 100px;
        justify-content: center;
    }
}

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

.modal-content {
    background-color: var(--card-background);
    margin: 5% auto;
    padding: 0;
    border-radius: 12px;
    box-shadow: var(--shadow-lg);
    position: relative;
}

.modal-header {
    padding: 20px;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-header h2 {
    margin: 0;
    font-size: 1.5rem;
    color: var(--text-primary);
}

.close {
    color: var(--text-secondary);
    font-size: 1.5rem;
    cursor: pointer;
    transition: color 0.3s ease;
}

.close:hover {
    color: var(--danger-color);
}

/* Profile Page Styles */
.profile-header {
    display: flex;
    align-items: center;
    gap: 2rem;
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: var(--card-bg);
    border-radius: var(--border-radius);
    box-shadow: var(--card-shadow);
}

.profile-image {
    position: relative;
    width: 120px;
    height: 120px;
}

.profile-image img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
}

.change-photo-btn {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--primary-color);
    color: white;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--card-shadow);
    transition: transform 0.2s;
}

.change-photo-btn:hover {
    transform: scale(1.1);
}

.profile-info h1 {
    margin: 0;
    font-size: 1.8rem;
    color: var(--text-color);
}

.profile-info .email {
    color: var(--text-secondary);
    margin: 0.5rem 0;
}

.profile-info .member-since {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.profile-section {
    background: var(--card-bg);
    border-radius: var(--border-radius);
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    box-shadow: var(--card-shadow);
}

.profile-section h2 {
    margin: 0 0 1.5rem 0;
    color: var(--text-color);
    font-size: 1.4rem;
}

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

.profile-form label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--text-secondary);
}

.profile-form input {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    background: var(--input-bg);
    color: var(--text-color);
}

.profile-form input:disabled {
    background: var(--disabled-bg);
    cursor: not-allowed;
}

.edit-btn {
    background: var(--primary-color);
    color: white;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: var(--border-radius);
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 1rem;
}

.edit-btn:hover {
    background: var(--primary-hover);
}

.security-settings .security-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
    border-bottom: 1px solid var(--border-color);
}

.security-settings .security-item:last-child {
    border-bottom: none;
}

.security-info h3 {
    margin: 0;
    color: var(--text-color);
}

.security-info p {
    margin: 0.25rem 0 0 0;
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.change-btn, .enable-btn {
    padding: 0.5rem 1rem;
    border-radius: var(--border-radius);
    border: none;
    cursor: pointer;
    font-weight: 500;
}

.change-btn {
    background: var(--primary-color);
    color: white;
}

.enable-btn {
    background: var(--success-color);
    color: white;
}

.notification-settings .notification-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
    border-bottom: 1px solid var(--border-color);
}

.notification-settings .notification-item:last-child {
    border-bottom: none;
}

.notification-info h3 {
    margin: 0;
    color: var(--text-color);
}

.notification-info p {
    margin: 0.25rem 0 0 0;
    color: var(--text-secondary);
    font-size: 0.9rem;
}

/* Switch Toggle */
.switch {
    position: relative;
    display: inline-block;
    width: 50px;
    height: 24px;
}

.switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: var(--border-color);
    transition: .4s;
    border-radius: 24px;
}

.slider:before {
    position: absolute;
    content: "";
    height: 16px;
    width: 16px;
    left: 4px;
    bottom: 4px;
    background-color: white;
    transition: .4s;
    border-radius: 50%;
}

input:checked + .slider {
    background-color: var(--success-color);
}

input:checked + .slider:before {
    transform: translateX(26px);
}

/* Account Page Styles */
.account-header {
    margin-bottom: 2rem;
}

.account-header h1 {
    color: var(--text-color);
    font-size: 2rem;
    margin: 0;
}

.account-section {
    background: var(--card-bg);
    border-radius: var(--border-radius);
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    box-shadow: var(--card-shadow);
}

.account-section h2 {
    margin: 0 0 1.5rem 0;
    color: var(--text-color);
    font-size: 1.4rem;
}

/* Summary Cards */
.summary-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.summary-card {
    background: var(--card-bg);
    border-radius: var(--border-radius);
    padding: 1.5rem;
    box-shadow: var(--card-shadow);
}

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

.card-header h3 {
    margin: 0;
    color: var(--text-secondary);
    font-size: 1rem;
}

.card-header i {
    color: var(--primary-color);
    font-size: 1.2rem;
}

.card-value {
    font-size: 1.8rem;
    font-weight: 600;
    color: var(--text-color);
    margin-bottom: 0.5rem;
}

.card-change {
    font-size: 0.9rem;
    font-weight: 500;
}

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

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

/* Transactions Table */
.transactions-table {
    overflow-x: auto;
}

.transactions-table table {
    width: 100%;
    border-collapse: collapse;
}

.transactions-table th,
.transactions-table td {
    padding: 1rem;
    text-align: left;
    border-bottom: 1px solid var(--border-color);
}

.transactions-table th {
    color: var(--text-secondary);
    font-weight: 500;
    font-size: 0.9rem;
}

.transactions-table td {
    color: var(--text-color);
}

.status {
    padding: 0.25rem 0.75rem;
    border-radius: 1rem;
    font-size: 0.8rem;
    font-weight: 500;
}

.status.completed {
    background: var(--success-color);
    color: white;
}

.status.pending {
    background: var(--warning-color);
    color: white;
}

.status.failed {
    background: var(--danger-color);
    color: white;
}

/* Settings Form */
.settings-form .form-group {
    margin-bottom: 1.5rem;
}

.settings-form label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--text-secondary);
}

.settings-form select,
.settings-form input {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    background: var(--input-bg);
    color: var(--text-color);
}

.settings-form select:disabled,
.settings-form input:disabled {
    background: var(--disabled-bg);
    cursor: not-allowed;
}

/* Option Prices Styles */
.option-prices {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid var(--border-color);
}

.option-price {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.5rem;
    padding: 0.5rem;
    background: var(--input-bg);
    border-radius: var(--border-radius);
}

.option-price:last-child {
    margin-bottom: 0;
}

.option-label {
    color: var(--text-secondary);
    font-size: 0.9rem;
    font-weight: 500;
}

.option-value {
    color: var(--text-color);
    font-weight: 600;
}

.option-change {
    font-size: 0.85rem;
    font-weight: 500;
    padding: 0.25rem 0.5rem;
    border-radius: 1rem;
}

.option-change.positive {
    color: var(--success-color);
    background: rgba(16, 185, 129, 0.1);
}

.option-change.negative {
    color: var(--danger-color);
    background: rgba(239, 68, 68, 0.1);
}

/* Enhanced Add Stock Modal Styles */
.options-section {
    margin: 1.5rem 0;
    padding: 1.5rem;
    background: var(--input-bg);
    border-radius: var(--border-radius);
}

.options-section h3 {
    margin: 0 0 1rem 0;
    color: var(--text-color);
    font-size: 1.2rem;
}

.option-group {
    margin-bottom: 1rem;
    padding: 1rem;
    background: var(--card-bg);
    border-radius: var(--border-radius);
    border: 1px solid var(--border-color);
}

.option-group:last-child {
    margin-bottom: 0;
}

.option-group h4 {
    margin: 0 0 1rem 0;
    color: var(--text-secondary);
    font-size: 1rem;
    font-weight: 500;
}

.option-group .form-group {
    margin-bottom: 0.75rem;
}

.option-group .form-group:last-child {
    margin-bottom: 0;
}

/* Positions Page Styles */
.positions-container {
    padding: 20px;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
}

.position-card {
    background-color: var(--card-background);
    border-radius: 12px;
    padding: 20px;
    box-shadow: var(--shadow-sm);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

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

.stock-info {
    display: flex;
    align-items: center;
    gap: 10px;
}

.stock-info h3 {
    margin: 0;
    font-size: 1.2rem;
    color: var(--text-primary);
}

.stock-type {
    background-color: var(--background-color);
    color: var(--text-secondary);
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: 500;
}

.position-type {
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 0.9rem;
    font-weight: 500;
}

.position-type.buy {
    background-color: rgba(16, 185, 129, 0.1);
    color: var(--success-color);
}

.position-type.sell {
    background-color: rgba(239, 68, 68, 0.1);
    color: var(--danger-color);
}

.position-details {
    display: grid;
    gap: 12px;
}

.detail-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.detail-row .label {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.detail-row .value {
    color: var(--text-primary);
    font-weight: 500;
}

.detail-row .value.positive {
    color: var(--success-color);
}

.detail-row .value.negative {
    color: var(--danger-color);
}

/* Responsive Design */
@media (max-width: 768px) {
    .positions-container {
        grid-template-columns: 1fr;
    }
}

/* Authentication Pages Styles */
.auth-container {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--background-color) 0%, #e2e8f0 100%);
    padding: 20px;
}

.auth-card {
    background-color: var(--card-background);
    border-radius: 24px;
    padding: 40px;
    width: 100%;
    max-width: 450px;
    box-shadow: var(--shadow-lg);
    position: relative;
    overflow: hidden;
}

.auth-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
}

.auth-logo {
    text-align: center;
    margin-bottom: 30px;
}

.auth-logo i {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.auth-logo h1 {
    color: var(--text-primary);
    font-size: 1.8rem;
    margin: 0;
}

.auth-header {
    text-align: center;
    margin-bottom: 30px;
}

.auth-header h2 {
    color: var(--text-primary);
    font-size: 1.8rem;
    margin-bottom: 8px;
}

.auth-header p {
    color: var(--text-secondary);
    font-size: 1rem;
}

.auth-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-group {
    position: relative;
}

.input-with-icon {
    position: relative;
}

.input-with-icon i:first-child {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-secondary);
    font-size: 1.1rem;
}

.input-with-icon .toggle-password {
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-secondary);
    cursor: pointer;
    font-size: 1.1rem;
}

.input-with-icon input {
    width: 100%;
    padding: 16px 16px 16px 48px;
    border: 2px solid var(--border-color);
    border-radius: 12px;
    font-size: 1rem;
    background-color: var(--background-color);
    transition: all 0.3s ease;
}

.input-with-icon input:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.1);
    outline: none;
}

.form-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.9rem;
}

.remember-me {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text-secondary);
    cursor: pointer;
}

.remember-me input {
    width: 18px;
    height: 18px;
    border-radius: 4px;
    border: 2px solid var(--border-color);
    cursor: pointer;
}

.forgot-password {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.forgot-password:hover {
    color: var(--secondary-color);
}

.submit-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 16px;
    border: none;
    border-radius: 12px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    color: white;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.2);
}

.submit-btn i {
    font-size: 1.1rem;
    transition: transform 0.3s ease;
}

.submit-btn:hover i {
    transform: translateX(4px);
}

.social-login {
    text-align: center;
    margin-top: 20px;
}

.social-login p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-bottom: 16px;
    position: relative;
}

.social-login p::before,
.social-login p::after {
    content: '';
    position: absolute;
    top: 50%;
    width: 30%;
    height: 1px;
    background-color: var(--border-color);
}

.social-login p::before {
    left: 0;
}

.social-login p::after {
    right: 0;
}

.social-buttons {
    display: flex;
    gap: 12px;
    justify-content: center;
}

.social-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 20px;
    border: 2px solid var(--border-color);
    border-radius: 12px;
    background-color: var(--background-color);
    color: var(--text-primary);
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.social-btn:hover {
    background-color: var(--border-color);
}

.social-btn.google {
    color: #DB4437;
}

.social-btn.facebook {
    color: #4267B2;
}

.auth-footer {
    text-align: center;
    margin-top: 20px;
    color: var(--text-secondary);
}

.auth-footer a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.auth-footer a:hover {
    color: var(--secondary-color);
}

/* Responsive Design */
@media (max-width: 480px) {
    .auth-card {
        padding: 30px 20px;
    }

    .form-options {
        flex-direction: column;
        gap: 12px;
        align-items: flex-start;
    }

    .social-buttons {
        flex-direction: column;
    }

    .social-btn {
        width: 100%;
        justify-content: center;
    }
}

/* Watchlist Table Styles */
.watchlist-table-container {
    background-color: var(--card-background);
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
    overflow: hidden;
    margin-top: 20px;
}

.watchlist-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.95rem;
}

.watchlist-table th {
    background-color: var(--background-color);
    color: var(--text-secondary);
    font-weight: 600;
    text-align: left;
    padding: 16px;
    border-bottom: 2px solid var(--border-color);
}

.watchlist-table td {
    padding: 16px;
    border-bottom: 1px solid var(--border-color);
    color: var(--text-primary);
}

.watchlist-table tr:last-child td {
    border-bottom: none;
}

.watchlist-table tr:hover {
    background-color: var(--background-color);
}

.watchlist-table .positive {
    color: var(--success-color);
    font-weight: 500;
}

.watchlist-table .negative {
    color: var(--danger-color);
    font-weight: 500;
}

.action-btn {
    background: none;
    border: none;
    color: var(--text-secondary);
    cursor: pointer;
    padding: 8px;
    border-radius: 6px;
    transition: all 0.3s ease;
    margin-right: 8px;
}

.action-btn:hover {
    background-color: var(--background-color);
}

.action-btn.view {
    color: var(--primary-color);
}

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

.action-btn i {
    font-size: 1rem;
}

/* Responsive Table */
@media (max-width: 768px) {
    .watchlist-table-container {
        overflow-x: auto;
    }
    
    .watchlist-table {
        min-width: 800px;
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .market-indices {
        overflow-x: auto;
    }
    
    .tab-navigation {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }
    
    .stock-price-info {
        flex-direction: column;
        gap: 4px;
    }
} 