/* Dashboard Specific Styles */
.dashboard-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 20px;
    font-family: 'Courier New', monospace;
    background-color: #0a0a0a;
    color: #00ff00;
    min-height: 100vh;
}

.dashboard-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 2px solid #00ff00;
}

.dashboard-header h1 {
    font-size: 2em;
    text-transform: uppercase;
    letter-spacing: 3px;
}

.dashboard-time {
    font-size: 1.2em;
    color: #00ffff;
}

.back-link {
    color: #00ff00;
    text-decoration: none;
    transition: color 0.3s;
}

.back-link:hover {
    color: #00ffff;
}

/* Grid Layout */
.dashboard-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 20px;
    margin-bottom: 40px;
}

/* Widget Styles */
.widget {
    background-color: #1a1a1a;
    border: 1px solid #00ff00;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 0 10px rgba(0, 255, 0, 0.3);
    transition: transform 0.2s, box-shadow 0.2s;
}

.widget:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 20px rgba(0, 255, 0, 0.5);
}

.widget h3 {
    margin: 0 0 15px 0;
    color: #00ffff;
    text-transform: uppercase;
    font-size: 1.1em;
    letter-spacing: 2px;
}

.widget-full {
    grid-column: span 2;
}

/* Quick Links */
.links-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
}

.link-item {
    background-color: #2a2a2a;
    padding: 10px;
    border-radius: 4px;
    text-align: center;
    transition: background-color 0.2s;
    cursor: pointer;
}

.link-item:hover {
    background-color: #3a3a3a;
}

.link-item a {
    color: #00ff00;
    text-decoration: none;
    display: block;
}

/* Weather Widget */
.weather-item {
    margin-bottom: 15px;
    padding: 10px;
    background-color: #2a2a2a;
    border-radius: 4px;
}

.weather-city {
    font-weight: bold;
    color: #00ffff;
    margin-bottom: 5px;
}

.weather-temp {
    font-size: 1.5em;
    color: #00ff00;
}

.weather-desc {
    color: #888;
    text-transform: capitalize;
}

/* World Clock */
.clock-item {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
    padding: 8px;
    background-color: #2a2a2a;
    border-radius: 4px;
}

.clock-city {
    color: #00ffff;
}

.clock-time {
    color: #00ff00;
    font-weight: bold;
}

/* Crypto Widget */
.crypto-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
    padding: 10px;
    background-color: #2a2a2a;
    border-radius: 4px;
}

.crypto-name {
    color: #00ffff;
    text-transform: capitalize;
}

.crypto-price {
    color: #00ff00;
    font-weight: bold;
}

.crypto-change {
    font-size: 0.9em;
}

.crypto-change.positive {
    color: #00ff00;
}

.crypto-change.negative {
    color: #ff0000;
}

/* System Status */
.stat-item {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
    padding: 8px;
    background-color: #2a2a2a;
    border-radius: 4px;
}

.stat-label {
    color: #888;
}

.stat-value {
    color: #00ff00;
    font-weight: bold;
}

/* Todo List */
.todo-input {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
}

.todo-input input {
    flex: 1;
    padding: 10px;
    background-color: #2a2a2a;
    border: 1px solid #00ff00;
    color: #00ff00;
    border-radius: 4px;
}

.todo-input select {
    padding: 10px;
    background-color: #2a2a2a;
    border: 1px solid #00ff00;
    color: #00ff00;
    border-radius: 4px;
}

.todo-input button {
    padding: 10px 20px;
    background-color: #00ff00;
    color: #000;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-weight: bold;
    transition: background-color 0.2s;
}

.todo-input button:hover {
    background-color: #00dd00;
}

.todo-item {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
    padding: 10px;
    background-color: #2a2a2a;
    border-radius: 4px;
    transition: opacity 0.3s;
}

.todo-item.completed {
    opacity: 0.5;
}

.todo-item.completed .todo-text {
    text-decoration: line-through;
}

.todo-checkbox {
    width: 20px;
    height: 20px;
    cursor: pointer;
}

.todo-text {
    flex: 1;
    color: #00ff00;
}

.todo-priority {
    padding: 2px 8px;
    border-radius: 3px;
    font-size: 0.8em;
    text-transform: uppercase;
}

.priority-0 {
    background-color: #333;
    color: #888;
}

.priority-1 {
    background-color: #664400;
    color: #ffaa00;
}

.priority-2 {
    background-color: #660000;
    color: #ff0000;
}

.todo-delete {
    background: none;
    border: none;
    color: #ff0000;
    cursor: pointer;
    font-size: 1.2em;
}

/* Container Status */
.container-item {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
    padding: 10px;
    background-color: #2a2a2a;
    border-radius: 4px;
}

.container-name {
    color: #00ffff;
}

.container-status {
    padding: 2px 10px;
    border-radius: 3px;
    font-size: 0.9em;
}

.status-running {
    background-color: #003300;
    color: #00ff00;
}

.status-stopped {
    background-color: #330000;
    color: #ff0000;
}

/* Recent Visitors */
.visitor-item {
    display: flex;
    justify-content: space-between;
    margin-bottom: 8px;
    padding: 8px;
    background-color: #2a2a2a;
    border-radius: 4px;
    font-size: 0.9em;
}

.visitor-ip {
    color: #00ffff;
}

.visitor-time {
    color: #888;
}

/* Loading State */
.loading {
    text-align: center;
    color: #888;
    padding: 20px;
}

/* Responsive */
@media (max-width: 768px) {
    .dashboard-grid {
        grid-template-columns: 1fr;
    }
    
    .widget-full {
        grid-column: span 1;
    }
    
    .dashboard-header {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }
}