* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

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

.container {
    width: 100%;
    max-width: 500px;
}

.card {
    background: white;
    border-radius: 12px;
    padding: 40px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
}

.card.wide {
    max-width: 600px;
}

h1 {
    color: #333;
    margin-bottom: 30px;
    text-align: center;
}

.form-group {
    margin-bottom: 20px;
}

label {
    display: block;
    margin-bottom: 8px;
    color: #555;
    font-weight: 500;
}

input[type="text"],
input[type="email"],
input[type="password"] {
    width: 100%;
    padding: 12px;
    border: 2px solid #ddd;
    border-radius: 6px;
    font-size: 14px;
    transition: border-color 0.3s;
}

input:focus {
    outline: none;
    border-color: #397c86;
}

.btn {
    width: 100%;
    padding: 14px;
    background: #397c86;
    color: white;
    border: none;
    border-radius: 6px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s;
}

.btn:hover:not(:disabled) {
    background: #2d6269;
}

.btn:disabled {
    background: #ccc;
    cursor: not-allowed;
}

.btn-secondary {
    margin-top: 10px;
    padding: 10px 20px;
    background: #6c757d;
    color: white;
    border: none;
    border-radius: 6px;
    font-size: 14px;
    cursor: pointer;
    transition: background 0.3s;
}

.btn-secondary:hover:not(:disabled) {
    background: #5a6268;
}

.btn-secondary:disabled {
    background: #ccc;
    cursor: not-allowed;
}

.error {
    padding: 12px;
    background: #fff3cd;
    border-left: 4px solid #ffc107;
    color: #856404;
    border-radius: 4px;
    margin-bottom: 20px;
}

.error.hidden {
    display: none;
}

.domain-preview {
    background: #f8f9fa;
    padding: 15px;
    border-radius: 6px;
    border: 2px solid #e9ecef;
}

.preview-text {
    font-family: monospace;
    color: #397c86;
    font-size: 14px;
    margin: 5px 0;
}

.verification-status {
    margin-top: 10px;
    padding: 10px;
    border-radius: 4px;
}

.verification-status.success {
    background: #d4edda;
    border-left: 4px solid #28a745;
    color: #155724;
}

.verification-status.hidden {
    display: none;
}

.progress-container {
    margin: 30px 0;
}

.progress-bar {
    width: 100%;
    height: 30px;
    background: #e9ecef;
    border-radius: 15px;
    overflow: hidden;
    position: relative;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #397c86, #4a9aa6);
    transition: width 0.5s ease;
    width: 0%;
}

.progress-text {
    text-align: center;
    margin-top: 10px;
    font-size: 24px;
    font-weight: 600;
    color: #397c86;
}

.status-message {
    text-align: center;
    font-size: 16px;
    color: #666;
    margin: 20px 0;
    min-height: 24px;
}

.spinner {
    margin: 30px auto;
    width: 50px;
    height: 50px;
    border: 5px solid #f3f3f3;
    border-top: 5px solid #397c86;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.result {
    text-align: center;
    margin-top: 30px;
}

.result.hidden {
    display: none;
}

.result h2 {
    color: #28a745;
    margin-bottom: 15px;
}

.domain-info {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 6px;
    margin: 20px 0;
    text-align: left;
}

.domain-info p {
    margin: 10px 0;
}

.info-text {
    margin-top: 20px;
    padding: 15px;
    background: #fff3cd;
    border-left: 4px solid #ffc107;
    border-radius: 4px;
    color: #856404;
}