/* Buttons */
.manage-devs-btn, .back-btn {
    background: #000000;
    color: #ffffff;
    border: 1px solid #ff3052;
    padding: 8px 20px;
    font-weight: 600;
    cursor: pointer;
    font-size: 14px;
    transition: all 0.3s;
    font-family: monospace;
}

.manage-devs-btn:hover, .back-btn:hover {
    background: #ff3052;
    color: #000000;
    box-shadow: 0 0 10px rgba(224, 27, 60, 0.35);
}

.back-btn {
    margin-left: 30px;
}

/* Nav Links */
.nav-link {
    background: transparent;
    color: #ffffff;
    border: 1px solid transparent;
    padding: 6px 12px;
    font-size: 12px;
    font-family: monospace;
    cursor: pointer;
    transition: all 0.2s;
    position: relative;
}

.nav-link:hover:not(.disabled) {
    background: #1a1a1a;
    border-color: #333333;
}

.nav-link.disabled {
    color: #555555;
    cursor: not-allowed;
    opacity: 0.6;
}

.nav-link.disabled:hover {
    background: transparent;
    border-color: transparent;
}

/* Token Cards - 20% smaller */
.token-card {
    background: #1a1a1a;
    border: 2px solid #444444;
    padding: 11px;
    margin-bottom: 10px;
    transition: all 0.3s;
    position: relative;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.token-card:hover {
    border-color: #ff3052;
    box-shadow: 0 4px 8px rgba(224, 27, 60, 0.2);
}

/* Graduated Card Special Styling */
.graduated-card {
    border-color: #66ff66;
    background: linear-gradient(135deg, #1a1a1a 0%, #1f2f1f 100%);
}

.graduated-card:hover {
    border-color: #88ff88;
    box-shadow: 0 4px 12px rgba(102, 255, 102, 0.25);
}

/* Graduated Status Display */
.token-graduated-status {
    display: flex;
    justify-content: center;
    align-items: center;
    background: linear-gradient(90deg, #66ff66, #44dd44);
    color: #000000;
    padding: 8px;
    margin: 8px 0;
    border-radius: 4px;
    font-weight: bold;
    font-size: 13px;
    font-family: monospace;
    text-align: center;
    animation: graduatedPulse 2s infinite;
}

@keyframes graduatedPulse {
    0% { opacity: 0.9; }
    50% { opacity: 1; }
    100% { opacity: 0.9; }
}

.graduated-label {
    text-shadow: 0 0 2px rgba(0, 0, 0, 0.3);
}

.graduated-chart {
    background: linear-gradient(90deg, #66ff66, #44dd44);
    color: #000000;
    border-color: #66ff66;
}

.graduated-chart:hover {
    background: linear-gradient(90deg, #88ff88, #66ff66);
    box-shadow: 0 0 10px rgba(102, 255, 102, 0.5);
}

.token-header {
    display: flex;
    align-items: flex-start;
    margin-bottom: 10px;
    padding-top: 12px;
}

.token-info {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    width: 100%;
    gap: 10px;
}

.token-main {
    display: flex;
    flex-direction: column;
    flex: 1;
}

.token-symbol {
    font-size: 14px;
    font-weight: bold;
    color: #ffffff;
    font-family: monospace;
}

.token-name {
    font-size: 13px;
    color: #ffffff;
    font-family: monospace;
    margin-top: 2px;
}

/* Dev Name Box */
.token-dev-box {
    display: flex;
    flex-direction: column;
    gap: 2px;
    background: #0d0d0d;
    border: 1px solid #333333;
    padding: 4px 6px;
    border-radius: 3px;
    cursor: pointer;
    transition: all 0.2s;
    min-width: 100px;
}

.token-dev-box:hover {
    background: #1a1a1a;
    border-color: #ff3052;
}

.dev-box-header {
    display: flex;
    gap: 4px;
    font-size: 10px;
}

.dev-label {
    color: #808080;
    font-family: monospace;
}

.dev-name {
    color: #ffffff;
    font-family: monospace;
    font-weight: 600;
}

.dev-box-notes {
    font-size: 8px;
    color: #666666;
    font-family: monospace;
    line-height: 1.2;
    margin-top: 2px;
}

/* Market Cap Section */
.token-market-cap {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #0d0d0d;
    border: 1px solid #ff3052;
    padding: 8px;
    margin-bottom: 8px;
    border-radius: 3px;
}

.mc-label {
    font-size: 9px;
    color: #808080;
    text-transform: uppercase;
    font-family: monospace;
}

.mc-value {
    font-size: 14px;
    font-weight: 700;
    color: #ffffff;
    font-family: monospace;
}

/* Contract Address */
.contract-address {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #0d0d0d;
    border: 1px solid #333333;
    padding: 5px 8px;
    margin-bottom: 8px;
    cursor: pointer;
    transition: all 0.2s;
    font-size: 9px;
}

.contract-address:hover {
    border-color: #ff3052;
    box-shadow: 0 0 4px rgba(224, 27, 60, 0.25);
}

.address-text {
    color: #999999;
    font-family: monospace;
    letter-spacing: 0.5px;
}

.copy-icon {
    opacity: 0.5;
    transition: opacity 0.2s;
    color: #808080;
    font-size: 10px;
}

.contract-address:hover .copy-icon {
    opacity: 1;
    color: #ffffff;
}

.contract-address.copied {
    background: #ff3052;
    border-color: #ff3052;
}

.contract-address.copied .address-text {
    color: #000000;
}

/* Stats Grid */
.token-stats-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 6px;
    margin-bottom: 10px;
}

.stat-item {
    background: #0d0d0d;
    padding: 6px;
    border: 1px solid #333333;
    text-align: center;
    border-radius: 2px;
}

.stat-item .stat-label {
    display: block;
    font-size: 8px;
    color: #808080;
    text-transform: uppercase;
    margin-bottom: 3px;
    font-family: monospace;
}

.stat-item .stat-value {
    display: block;
    font-size: 11px;
    font-weight: 600;
    color: #ffffff;
    font-family: monospace;
}

/* Token Actions */
.token-actions {
    display: flex;
    gap: 6px;
}

.chart-button {
    flex: 1;
    background: #000000;
    color: #ffffff;
    border: 1px solid #ff3052;
    padding: 8px;
    font-weight: 600;
    cursor: pointer;
    font-size: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    transition: all 0.3s;
    font-family: monospace;
    text-transform: uppercase;
    border-radius: 2px;
}

.chart-button:hover {
    background: #ff3052;
    color: #000000;
    box-shadow: 0 0 8px rgba(224, 27, 60, 0.35);
}

/* Remove Button */
.remove-btn {
    position: absolute;
    top: 6px;
    right: 6px;
    background: #333333;
    color: #999999;
    border: none;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 10px;
    display: none;
    align-items: center;
    justify-content: center;
}

.token-card:hover .remove-btn {
    display: flex;
}

.remove-btn:hover {
    background: #ff6666;
    color: #ffffff;
}

/* Timer */
.token-timer {
    position: absolute;
    top: 6px;
    right: 24px;
    background: #000000;
    border: 1px solid #333333;
    padding: 1px 4px;
    font-size: 8px;
    font-family: monospace;
    color: #ffffff;
    z-index: 1;
}

/* Empty State */
.empty-state {
    text-align: center;
    padding: 40px 20px;
    color: #666666;
}

.empty-state h3 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 10px;
    color: #ffffff;
    font-family: monospace;
}

.empty-state p {
    font-size: 13px;
    color: #808080;
    font-family: monospace;
}

/* Manage Devs Page Styles */
.page-title {
    font-size: 32px;
    font-weight: 700;
    color: #ffffff;
    text-transform: uppercase;
    font-family: monospace;
    margin-bottom: 30px;
    display: flex;
    align-items: center;
    gap: 15px;
}

.page-title-icon {
    width: 30px;
    height: 30px;
    background: #ff3052;
    animation: pulse 2s infinite;
}

/* Tools Section */
.tools-section {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
}

.tool-btn {
    background: #000000;
    color: #999999;
    border: 1px solid #333333;
    padding: 8px 16px;
    font-family: monospace;
    font-size: 13px;
    cursor: pointer;
    transition: all 0.3s;
}

.tool-btn:hover {
    color: #ffffff;
    border-color: #ff3052;
}

/* Add Dev Section */
.add-dev-section {
    background: #1a1a1a;
    border: 1px solid #333333;
    padding: 20px;
    margin-bottom: 30px;
    position: relative;
}

.section-title {
    font-size: 18px;
    font-weight: 600;
    color: #ffffff;
    font-family: monospace;
    margin-bottom: 15px;
    text-transform: uppercase;
}

.section-subtitle {
    font-size: 12px;
    color: #ffffff;
    font-family: monospace;
    margin-bottom: 10px;
    font-weight: 600;
}

.input-group {
    display: flex;
    gap: 10px;
    margin-bottom: 15px;
}

.input-field {
    flex: 1;
    background: #000000;
    border: 1px solid #333333;
    color: #ffffff;
    padding: 10px 15px;
    font-family: monospace;
    font-size: 14px;
    transition: all 0.3s;
}

.input-field:focus {
    outline: none;
    border-color: #ff3052;
    box-shadow: 0 0 5px rgba(224, 27, 60, 0.25);
}

.input-field::placeholder {
    color: #666666;
}

textarea.input-field {
    font-family: monospace;
    line-height: 1.4;
    resize: vertical;
}

.add-btn {
    background: #000000;
    color: #ffffff;
    border: 1px solid #ff3052;
    padding: 10px 30px;
    font-weight: 600;
    cursor: pointer;
    font-size: 14px;
    transition: all 0.3s;
    font-family: monospace;
    text-transform: uppercase;
}

.add-btn:hover {
    background: #ff3052;
    color: #000000;
    box-shadow: 0 0 10px rgba(224, 27, 60, 0.35);
}

.add-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* Past Projects Input Section */
.past-projects-section {
    border-top: 1px solid #333333;
    padding-top: 15px;
}

#pastProjectsContainer {
    position: relative;
    padding-right: 30px;
}

.project-input-row {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 2fr;
    gap: 8px;
    margin-bottom: 8px;
    position: relative;
}

.project-field {
    background: #0d0d0d;
    border: 1px solid #333333;
    color: #ffffff;
    padding: 6px 8px;
    font-size: 11px;
    font-family: monospace;
    border-radius: 3px;
}

.project-field:focus {
    outline: none;
    border-color: #ff3052;
}

.project-field::placeholder {
    color: #555555;
}

.add-project-btn {
    background: #0d0d0d;
    border: 1px solid #333333;
    color: #808080;
    padding: 6px 12px;
    font-size: 11px;
    font-family: monospace;
    cursor: pointer;
    border-radius: 3px;
    transition: all 0.2s;
    margin-top: 8px;
}

.add-project-btn:hover {
    background: #1a1a1a;
    border-color: #ff3052;
    color: #ffffff;
}

.remove-project-btn {
    position: absolute;
    right: -25px;
    top: 50%;
    transform: translateY(-50%);
    background: #333333;
    border: none;
    color: #999999;
    width: 20px;
    height: 20px;
    border-radius: 3px;
    cursor: pointer;
    font-size: 12px;
    display: none;
}

.project-input-row:hover .remove-project-btn {
    display: block;
}

.remove-project-btn:hover {
    background: #ff4444;
    color: #ffffff;
}

/* Status Message */
.status-message {
    position: absolute;
    top: 20px;
    right: 20px;
    padding: 8px 12px;
    background: #1a1a1a;
    border: 1px solid #333333;
    border-radius: 4px;
    font-family: monospace;
    font-size: 12px;
    display: none;
}

.status-message.success {
    border-color: #66ff66;
    color: #66ff66;
}

.status-message.error {
    border-color: #ff6666;
    color: #ff6666;
}

.status-message.active {
    display: block;
}

/* Devs Grid */
.devs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 20px;
    margin-top: 30px;
}

.dev-card {
    background: #1a1a1a;
    border: 1px solid #333333;
    padding: 20px;
    transition: all 0.3s;
    position: relative;
}

.dev-card:hover {
    border-color: #ff3052;
    box-shadow: 0 0 10px rgba(224, 27, 60, 0.2);
}

.dev-card.syncing {
    border-color: #ffcc66;
}

.sync-indicator {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #666666;
}

.sync-indicator.synced {
    background: #66ff66;
}

.sync-indicator.syncing {
    background: #ffcc66;
    animation: pulse 1s infinite;
}

.sync-indicator.error {
    background: #ff6666;
}

.sync-indicator.unknown {
    background: #666666;
}

.dev-header {
    display: flex;
    justify-content: space-between;
    align-items: start;
    margin-bottom: 15px;
}

.dev-info {
    flex: 1;
}

.dev-name {
    font-size: 18px;
    font-weight: 600;
    color: #ffffff;
    font-family: monospace;
    margin-bottom: 5px;
}

.dev-address {
    font-size: 12px;
    color: #808080;
    font-family: monospace;
    cursor: pointer;
    transition: all 0.3s;
}

.dev-address:hover {
    color: #ffffff;
}

.dev-notes {
    font-size: 11px;
    color: #666666;
    font-style: italic;
    margin-top: 8px;
    padding: 8px;
    background: #0d0d0d;
    border-left: 2px solid #333333;
}

.dev-project-count {
    font-size: 11px;
    color: #808080;
    margin-top: 5px;
    font-family: monospace;
}

.dev-stats {
    display: flex;
    gap: 20px;
    margin: 15px 0;
}

.dev-stats .stat {
    display: flex;
    flex-direction: column;
}

.dev-stats .stat-label {
    font-size: 11px;
    color: #808080;
    font-family: monospace;
    text-transform: uppercase;
}

.dev-stats .stat-value {
    font-size: 16px;
    color: #ffffff;
    font-weight: 600;
    font-family: monospace;
}

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

.action-btn {
    flex: 1;
    background: #000000;
    border: 1px solid #333333;
    color: #999999;
    padding: 8px;
    cursor: pointer;
    font-size: 13px;
    font-family: monospace;
    transition: all 0.3s;
    text-transform: uppercase;
}

.action-btn:hover {
    border-color: #ff3052;
    color: #ffffff;
}

.action-btn.active {
    background: #ff3052;
    color: #000000;
    border-color: #ff3052;
}

.action-btn.remove {
    border-color: #ff6666;
    color: #ff6666;
}

.action-btn.remove:hover {
    background: #ff6666;
    color: #000000;
}
/* ============================================
   Followed Devs Summary Cards (dashboard panel)
   ============================================ */
.dev-summary-card {
    background: var(--bg-secondary);
    border: 1px solid var(--border-primary);
    border-left: 3px solid var(--accent-color);
    padding: 14px;
    margin-bottom: 10px;
    border-radius: 4px;
    transition: all 0.2s;
}

.dev-summary-card:hover {
    border-color: var(--border-accent);
    box-shadow: 0 4px 12px rgba(224, 27, 60, 0.15);
}

.dev-summary-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
    gap: 10px;
}

.dev-summary-name {
    font-size: 15px;
    font-weight: 600;
    color: #ffffff;
}

.dev-summary-wallet {
    font-family: var(--font-mono);
    font-size: 11px;
    color: var(--text-muted);
    cursor: pointer;
    padding: 3px 7px;
    border: 1px solid var(--border-primary);
    border-radius: 4px;
    transition: all 0.2s;
    flex-shrink: 0;
}

.dev-summary-wallet:hover {
    color: var(--accent-color);
    border-color: var(--border-accent);
}

.dev-summary-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
}

.dss {
    display: flex;
    flex-direction: column;
    gap: 3px;
    background: var(--bg-primary);
    border: 1px solid var(--border-secondary);
    border-radius: 3px;
    padding: 8px 6px;
    text-align: center;
}

.dss-label {
    font-family: var(--font-mono);
    font-size: 9px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--text-dim);
}

.dss-value {
    font-family: var(--font-mono);
    font-size: 15px;
    font-weight: 600;
    color: #ffffff;
}

.dss-value.dss-green { color: var(--success); }
.dss-value.dss-accent { color: var(--accent-color); }

.dev-summary-notes {
    margin-top: 10px;
    padding: 7px 9px;
    background: var(--bg-primary);
    border-left: 2px solid var(--border-primary);
    font-size: 11px;
    color: var(--text-muted);
    font-style: italic;
    line-height: 1.4;
    border-radius: 0 3px 3px 0;
}
