/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.container {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    text-align: center;
    max-width: 500px;
    width: 100%;
}

h1 {
    color: #333;
    margin-bottom: 30px;
    font-size: 2.5rem;
    font-weight: 300;
}

#user-info {
    color: #666;
    margin-bottom: 10px;
    font-size: 1.1rem;
    font-weight: 500;
}

#location-status {
    color: #888;
    margin-bottom: 30px;
    font-size: 0.9rem;
    padding: 8px 16px;
    border-radius: 20px;
    background: rgba(0, 0, 0, 0.05);
    display: inline-block;
}

#location-status.success {
    color: #27ae60;
    background: rgba(39, 174, 96, 0.1);
}

#location-status.error {
    color: #e74c3c;
    background: rgba(231, 76, 60, 0.1);
}

.button-container {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 30px;
}

.status-btn {
    padding: 20px 40px;
    border: none;
    border-radius: 15px;
    font-size: 1.3rem;
    font-weight: 600;
    color: white;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
    position: relative;
    overflow: hidden;
}

.status-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.status-btn:hover::before {
    left: 100%;
}

.status-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.2);
}

.status-btn:active {
    transform: translateY(-1px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.15);
}

.status-btn.disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none !important;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1) !important;
}

.status-btn.disabled:hover::before {
    left: -100%;
}

/* Button colors */
.red {
    background: linear-gradient(135deg, #ff6b6b, #ee5a52);
}

.red:hover:not(.disabled) {
    background: linear-gradient(135deg, #ff5252, #e53935);
}

.orange {
    background: linear-gradient(135deg, #ffa726, #ff9800);
}

.orange:hover:not(.disabled) {
    background: linear-gradient(135deg, #ff9800, #f57c00);
}

.green {
    background: linear-gradient(135deg, #66bb6a, #4caf50);
}

.green:hover:not(.disabled) {
    background: linear-gradient(135deg, #4caf50, #388e3c);
}

.message {
    display: none;
    padding: 15px 20px;
    border-radius: 10px;
    font-weight: 500;
    margin-top: 20px;
}

.message.success {
    background: rgba(76, 175, 80, 0.1);
    color: #4caf50;
    border: 1px solid rgba(76, 175, 80, 0.3);
}

.message.error {
    background: rgba(244, 67, 54, 0.1);
    color: #f44336;
    border: 1px solid rgba(244, 67, 54, 0.3);
}

/* Responsive design */
@media (max-width: 768px) {
    .container {
        padding: 30px 20px;
        margin: 10px;
    }
    
    h1 {
        font-size: 2rem;
        margin-bottom: 20px;
    }
    
    .status-btn {
        padding: 18px 30px;
        font-size: 1.1rem;
    }
}

@media (max-width: 480px) {
    h1 {
        font-size: 1.8rem;
    }
    
    .status-btn {
        padding: 16px 25px;
        font-size: 1rem;
    }
}