/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background-color: #000;
    color: #fff;
    line-height: 1.6;
    min-height: 100vh;
    padding: 20px;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

/* Typography */
h1, h2, h3, h4 {
    font-weight: 700;
    margin-bottom: 10px;
}

h1 {
    font-size: 2.5rem;
    background: linear-gradient(90deg, #fff, #aaa);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

h2 {
    font-size: 1.5rem;
    border-bottom: 2px solid #333;
    padding-bottom: 8px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

h3 {
    font-size: 1rem;
    color: #aaa;
    font-weight: 500;
}

p {
    margin-bottom: 10px;
}

a {
    color: #ccc;
    text-decoration: none;
    transition: color 0.3s;
}

a:hover {
    color: #fff;
}

/* Header */
.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
    margin-bottom: 30px;
    border-bottom: 1px solid #222;
}

.tagline {
    color: #aaa;
    font-size: 1rem;
}

/* Buttons */
.btn-primary, .btn-secondary {
    padding: 12px 24px;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.btn-primary {
    background: linear-gradient(135deg, #fff, #aaa);
    color: #000;
}

.btn-primary:hover {
    background: linear-gradient(135deg, #fff, #ddd);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 255, 255, 0.1);
}

.btn-secondary {
    background-color: #222;
    color: #fff;
    border: 1px solid #444;
}

.btn-secondary:hover {
    background-color: #333;
    border-color: #666;
}

/* Wallet Section */
.wallet-section {
    background-color: #111;
    border-radius: 12px;
    padding: 25px;
    margin-bottom: 30px;
    border: 1px solid #222;
}

.wallet-input-container {
    display: flex;
    gap: 15px;
    margin-top: 15px;
}

.wallet-input {
    flex: 1;
    padding: 15px;
    background-color: #000;
    border: 1px solid #333;
    border-radius: 8px;
    color: #fff;
    font-size: 1rem;
}

.wallet-input:focus {
    outline: none;
    border-color: #666;
}

/* Stats Section */
.stats-section {
    margin-bottom: 40px;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 20px;
}

.stat-card {
    background-color: #111;
    border-radius: 12px;
    padding: 25px;
    border: 1px solid #222;
    transition: transform 0.3s, border-color 0.3s;
}

.stat-card:hover {
    transform: translateY(-5px);
    border-color: #444;
}

.stat-card.highlight {
    border-color: #666;
    background-color: #0a0a0a;
}

.stat-value {
    font-size: 2rem;
    font-weight: 700;
    color: #fff;
}

.sol-earn {
    color: #aaa;
    font-size: 0.9rem;
    font-weight: 500;
}

/* Content Grid */
.content-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 25px;
    margin-bottom: 40px;
}

.content-card {
    background-color: #111;
    border-radius: 12px;
    padding: 25px;
    border: 1px solid #222;
}

/* Tables */
.table-container {
    overflow-x: auto;
}

table {
    width: 100%;
    border-collapse: collapse;
}

thead th {
    text-align: left;
    padding: 15px 10px;
    border-bottom: 1px solid #222;
    color: #aaa;
    font-weight: 500;
}

tbody tr {
    border-bottom: 1px solid #222;
    transition: background-color 0.3s;
}

tbody tr:hover {
    background-color: #0a0a0a;
}

tbody td {
    padding: 15px 10px;
}

.token-name {
    font-weight: 600;
    color: #fff;
}

.token-symbol {
    color: #aaa;
    font-size: 0.9rem;
}

.token-meta {
    color: #666;
    font-size: 0.8rem;
    margin-top: 5px;
}

.token-price {
    font-weight: 600;
    color: #fff;
}

.token-change {
    font-weight: 600;
    font-size: 0.9rem;
}

.positive {
    color: #0f0;
}

.negative {
    color: #f00;
}

.trader-address {
    font-weight: 600;
    color: #fff;
    font-family: monospace;
}

.trader-meta {
    color: #666;
    font-size: 0.8rem;
    margin-top: 5px;
}

.trader-profit {
    font-weight: 700;
    font-size: 1.2rem;
}

/* Market Pulse */
.market-pulse {
    grid-column: span 1;
}

.pulse-grid {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.pulse-item {
    background-color: #0a0a0a;
    padding: 15px;
    border-radius: 8px;
    border: 1px solid #222;
}

.pulse-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.pulse-title {
    font-weight: 600;
    color: #fff;
}

.pulse-change {
    font-weight: 600;
}

.pulse-bar {
    height: 8px;
    background-color: #222;
    border-radius: 4px;
    overflow: hidden;
}

.bar-fill {
    height: 100%;
    background-color: #fff;
    border-radius: 4px;
}

.bar-fill.negative {
    background-color: #888;
}

/* Footer */
.footer {
    border-top: 1px solid #222;
    padding: 30px 0;
    text-align: center;
    color: #666;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.social-icons {
    display: flex;
    gap: 15px;
}

.social-icons a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: #222;
    border-radius: 50%;
    color: #aaa;
    font-size: 1.2rem;
    transition: all 0.3s;
}

.social-icons a:hover {
    background-color: #333;
    color: #fff;
    transform: translateY(-3px);
}

/* Responsive */
@media (max-width: 768px) {
    .header {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
    }
    
    .wallet-input-container {
        flex-direction: column;
    }
    
    .content-grid {
        grid-template-columns: 1fr;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
    }
}

/* Animations */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.content-card, .stat-card, .wallet-section {
    animation: fadeIn 0.5s ease-out;
}

/* css/style.css'ye bu stilleri ekle */

/* Message Styles */
.message {
    padding: 12px 20px;
    border-radius: 8px;
    margin-top: 15px;
    font-weight: 500;
}

.message.success {
    background-color: rgba(0, 255, 0, 0.1);
    border: 1px solid #0f0;
    color: #0f0;
}

.message.error {
    background-color: rgba(255, 0, 0, 0.1);
    border: 1px solid #f00;
    color: #f00;
}

.message.loading {
    background-color: rgba(255, 255, 255, 0.1);
    border: 1px solid #fff;
    color: #fff;
}

/* Token List Scroll */
#tokenList {
    max-height: 200px;
    overflow-y: auto;
    padding-right: 10px;
}

#tokenList::-webkit-scrollbar {
    width: 6px;
}

#tokenList::-webkit-scrollbar-track {
    background: #222;
    border-radius: 3px;
}

#tokenList::-webkit-scrollbar-thumb {
    background: #666;
    border-radius: 3px;
}

#tokenList::-webkit-scrollbar-thumb:hover {
    background: #888;
}

/* Token Image */
.token-meta img {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    vertical-align: middle;
    margin-left: 8px;
    border: 1px solid #333;
}

/* Responsive improvements */
@media (max-width: 768px) {
    .wallet-input-container {
        flex-direction: column;
    }
    
    .wallet-input-container button {
        width: 100%;
    }
    
    .content-grid {
        grid-template-columns: 1fr;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
    }
}

/* Account Selection Styles */
.account-item {
    transition: all 0.2s;
    border: 1px solid transparent;
}

.account-item:hover {
    background: rgba(255,255,255,0.1) !important;
}

.account-item.selected {
    background: rgba(76, 175, 80, 0.1) !important;
    border: 1px solid #4CAF50;
}

.account-checkbox {
    accent-color: #4CAF50;
    cursor: pointer;
}