/* Basic styles - will be enhanced later */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    background-image: url('../images/background.png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    background-repeat: no-repeat;
    color: #F1F5F9;
    min-height: 100vh;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
    border-bottom: 1px solid #334155;
}

.logo-container {
    display: flex;
    align-items: center;
}

.logo {
    height: 40px;
    width: auto;
}

header h1 {
    color: #D97706;
    font-size: 28px;
}

nav {
    display: flex;
    gap: 20px;
}

nav a {
    color: #CBD5E1;
    text-decoration: none;
    transition: color 0.3s;
}

nav a:hover {
    color: #D97706;
}

main {
    padding: 40px 0;
}

.hero {
    text-align: center;
    padding: 60px 20px;
}

.hero-logo {
    height: 120px;
    width: auto;
    margin-bottom: 30px;
}

.hero h2 {
    font-size: 48px;
    margin-bottom: 20px;
}

.hero p {
    font-size: 20px;
    color: #CBD5E1;
    margin-bottom: 40px;
}

.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
}

.auth-section {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 60vh;
}

.auth-card {
    background-color: #000000;
    padding: 40px;
    border-radius: 12px;
    width: 100%;
    max-width: 400px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
}

.auth-logo {
    height: 80px;
    width: auto;
    margin: 0 auto 20px;
    display: block;
}

.auth-card h2 {
    text-align: center;
    margin-bottom: 30px;
    color: #D97706;
}

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

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: #CBD5E1;
}

.form-group input {
    width: 100%;
    padding: 12px;
    background-color: #000;
    border: 1px solid #334155;
    border-radius: 8px;
    color: #F1F5F9;
    font-size: 16px;
}

.form-group input:focus {
    outline: none;
    border-color: #D97706;
}

.form-group input:read-only {
    background-color: #1a1a1a !important;
    cursor: not-allowed;
    opacity: 0.7;
}

.btn {
    padding: 12px 24px;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
    text-align: center;
    transition: all 0.3s;
}

.btn-primary {
    background-color: #D97706;
    color: white;
    width: 100%;
}

.btn-primary:hover:not(:disabled) {
    background-color: #B45309;
}

.btn-primary:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.btn-primary {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.btn-secondary {
    background-color: transparent;
    color: #D97706;
    border: 1px solid #D97706;
}

.btn-secondary:hover {
    background-color: #D97706;
    color: white;
}

.auth-link {
    text-align: center;
    margin-top: 20px;
    color: #CBD5E1;
}

.auth-link a {
    color: #D97706;
    text-decoration: none;
}

.message {
    margin-top: 20px;
    padding: 12px;
    border-radius: 8px;
    text-align: center;
    display: none;
}

.message.success {
    background-color: #10B981;
    color: white;
    display: block;
}

.message.error {
    background-color: #EF4444;
    color: white;
    display: block;
}

footer {
    text-align: center;
    padding: 40px 0;
    color: #94A3B8;
    border-top: 1px solid #334155;
    margin-top: 60px;
}

/* Spinner styles */
.spinner {
    display: inline-block;
}

.spinner-circle {
    width: 16px;
    height: 16px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-top-color: white;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* Loading message */
.loading-message {
    margin-top: 12px;
    text-align: center;
    color: #D97706;
    font-size: 14px;
    font-style: italic;
    animation: pulse 1.5s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.6;
    }
}

.form-group input:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    background-color: #1a1a1a;
}

