/* VPN Status Widget Styles */
/* Modify colors, fonts, and layout here */

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    margin: 0;
    padding: 10px;
    background: transparent;
    color: #e5e5e5;
    font-size: 13px;
}

.status-container {
    background: rgba(0, 0, 0, 0.2);
    border-radius: 8px;
    padding: 15px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.status-header {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 12px;
    text-align: center;
    opacity: 0.9;
}

.status-item {
    margin: 8px 0;
    padding: 8px;
    border-radius: 6px;
    border-left: 3px solid #007acc;
    font-size: 12px;
    transition: all 0.3s ease;
}

/* VPN Status States */
.status-connected {
    background: rgba(26, 93, 26, 0.3);
    border-left-color: #4CAF50;
    animation: pulse-green 2s infinite;
}

.status-disconnected {
    background: rgba(93, 26, 26, 0.3);
    border-left-color: #f44336;
    animation: pulse-red 2s infinite;
}

.status-loading {
    background: rgba(93, 93, 26, 0.3);
    border-left-color: #ff9800;
    animation: pulse-orange 1s infinite;
}

/* Animations */
@keyframes pulse-green {
    0%, 100% { box-shadow: 0 0 5px rgba(76, 175, 80, 0.3); }
    50% { box-shadow: 0 0 15px rgba(76, 175, 80, 0.6); }
}

@keyframes pulse-red {
    0%, 100% { box-shadow: 0 0 5px rgba(244, 67, 54, 0.3); }
    50% { box-shadow: 0 0 15px rgba(244, 67, 54, 0.6); }
}

@keyframes pulse-orange {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.7; }
}

/* IP Information Display */
.ip-display {
    font-size: 14px;
    font-weight: 600;
    margin: 6px 0;
}

.location-display {
    font-size: 11px;
    opacity: 0.8;
    margin: 3px 0;
}

/* Refresh Button */
.refresh-btn {
    background: rgba(0, 122, 204, 0.8);
    color: white;
    border: none;
    padding: 6px 12px;
    border-radius: 4px;
    cursor: pointer;
    margin-top: 10px;
    width: 100%;
    font-size: 11px;
    transition: background 0.2s;
}

.refresh-btn:hover {
    background: rgba(0, 89, 153, 0.9);
    transform: translateY(-1px);
}

.refresh-btn:active {
    transform: translateY(0);
}

/* Warning Text */
.warning-text {
    margin-top: 15px;
    font-size: 10px;
    opacity: 0.6;
    text-align: center;
    padding: 5px;
    background: rgba(255, 193, 7, 0.1);
    border-radius: 3px;
    border-left: 2px solid #ffc107;
}

/* Responsive Design */
@media (max-width: 300px) {
    .status-container {
        padding: 10px;
    }
    
    .status-header {
        font-size: 14px;
    }
    
    .ip-display {
        font-size: 12px;
    }
}

/* Dark Theme Support */
@media (prefers-color-scheme: dark) {
    .status-container {
        background: rgba(0, 0, 0, 0.4);
        border: 1px solid rgba(255, 255, 255, 0.2);
    }
}

/* Light Theme Support */
@media (prefers-color-scheme: light) {
    body {
        color: #333;
    }
    
    .status-container {
        background: rgba(255, 255, 255, 0.9);
        border: 1px solid rgba(0, 0, 0, 0.1);
    }
}
