body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    color: #212529;
    margin: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
}

.container {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    border-radius: 24px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
    width: 100%;
    max-width: 600px;
    padding: 40px;
    margin: 20px;
}

header {
    text-align: center;
    margin-bottom: 40px;
}

h1 {
    font-size: 2.5rem;
    font-weight: 800;
    background: linear-gradient(90deg, #4285F4, #34A853);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin: 10px 0;
}

.status-badge {
    display: inline-block;
    padding: 6px 12px;
    border-radius: 30px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 20px;
}

.status-ok { background: #d4edda; color: #155724; }
.status-err { background: #f8d7da; color: #721c24; }

.card {
    background: #fff;
    border: 1px solid #dee2e6;
    border-radius: 16px;
    padding: 24px;
    margin-bottom: 30px;
    transition: transform 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
}

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

input[type="text"] {
    flex: 1;
    padding: 14px 20px;
    border-radius: 12px;
    border: 2px solid #eee;
    outline: none;
    transition: border-color 0.2s;
    font-size: 1rem;
}

input[type="text"]:focus {
    border-color: #4285F4;
}

button {
    padding: 14px 28px;
    border-radius: 12px;
    border: none;
    background: #4285F4;
    color: #fff;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.2s, transform 0.2s;
}

button:hover {
    background: #357ae8;
    transform: scale(1.02);
}

button:active {
    transform: scale(0.98);
}

.history-list {
    list-style: none;
    padding: 0;
}

.history-item {
    padding: 16px;
    border-bottom: 1px solid #f1f3f4;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.history-item:last-child { border-bottom: none; }

.history-title {
    font-weight: 600;
    color: #4285F4;
    text-decoration: none;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 300px;
}

.history-meta {
    font-size: 0.75rem;
    color: #6c757d;
}

.btn-auth {
    background: #34A853;
    width: 100%;
}

.footer {
    text-align: center;
    font-size: 0.8rem;
    color: #adb5bd;
    margin-top: 40px;
}
