* {
    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;
    padding: 20px;
    color: #333;
}

.container {
    max-width: 900px;
    margin: 0 auto;
    background: white;
    border-radius: 12px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    overflow: hidden;
}

header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 40px;
    text-align: center;
}

header h1 {
    font-size: 2.5em;
    margin-bottom: 10px;
}

.subtitle {
    font-size: 1.1em;
    opacity: 0.9;
}

main {
    padding: 40px;
}

.test-section {
    margin-bottom: 40px;
}

.test-section h2 {
    color: #667eea;
    margin-bottom: 20px;
    font-size: 1.5em;
}

.status-card {
    padding: 25px;
    border-radius: 8px;
    border-left: 5px solid #4CAF50;
    background: #f0f9f4;
    margin-bottom: 20px;
}

.status-card.success {
    border-left-color: #4CAF50;
    background: #f0f9f4;
}

.status-card.error {
    border-left-color: #f44336;
    background: #fef0f0;
}

.status-card h3 {
    color: #2c3e50;
    margin-bottom: 10px;
}

.status-card p {
    color: #555;
    line-height: 1.6;
}

.timestamp {
    font-size: 0.9em;
    color: #777;
    margin-top: 10px;
}

.btn-primary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    padding: 15px 30px;
    font-size: 1.1em;
    border-radius: 8px;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.6);
}

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

.response-box {
    margin-top: 20px;
    padding: 20px;
    border-radius: 8px;
    background: #f5f7fa;
    min-height: 60px;
    display: none;
}

.response-box.show {
    display: block;
}

.response-box.loading {
    background: #fff9e6;
    border-left: 5px solid #ff9800;
}

.response-box.success {
    background: #f0f9f4;
    border-left: 5px solid #4CAF50;
}

.response-box.error {
    background: #fef0f0;
    border-left: 5px solid #f44336;
}

.info-section {
    background: #f8f9fa;
    padding: 25px;
    border-radius: 8px;
    margin-top: 40px;
}

.info-section h3 {
    color: #667eea;
    margin-bottom: 15px;
}

.info-section ul {
    list-style: none;
    padding-left: 0;
}

.info-section li {
    padding: 10px 0;
    font-size: 1.05em;
    color: #555;
}

.setup-info {
    background: #f0f4ff;
    border: 2px dashed #667eea;
    border-radius: 8px;
    padding: 20px;
    margin-top: 20px;
}

.setup-info h4 {
    color: #667eea;
    margin-top: 0;
}

.setup-info ol {
    margin: 15px 0;
    padding-left: 25px;
}

.setup-info li {
    margin: 10px 0;
    line-height: 1.6;
}

.setup-info code {
    background: #fff;
    padding: 3px 8px;
    border-radius: 4px;
    font-family: 'Courier New', monospace;
    color: #d32f2f;
    font-weight: 600;
}

.info-text {
    color: #666;
    font-style: italic;
    margin-bottom: 15px;
}

footer {
    background: #2c3e50;
    color: white;
    text-align: center;
    padding: 20px;
    font-size: 0.95em;
}

@media (max-width: 768px) {
    .container {
        margin: 0;
        border-radius: 0;
    }
    
    header {
        padding: 30px 20px;
    }
    
    main {
        padding: 20px;
    }
}
