/**
 * Authentication page styles for login, signup, and contact forms
 * Includes futuristic glassmorphic design with glowing effects
 */

/* Auth page layout */
.auth-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    position: relative;
    overflow: hidden;
    padding-top: 6rem;
}

.auth-bg {
    position: absolute;
    inset: 0;
}

.auth-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.3;
}

.auth-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom right, rgba(34, 211, 238, 0.5), rgba(0, 0, 0, 0.8));
}

/* Auth container and card */
.auth-container {
    position: relative;
    max-width: 28rem;
    width: 100%;
}

.auth-border {
    position: absolute;
    inset: -1px;
    background: linear-gradient(to right, #0891b2, #3b82f6);
    border-radius: 1rem;
    filter: blur(1px);
    opacity: 0.2;
    animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

.auth-card {
    position: relative;
    background: rgba(17, 24, 39, 0.8);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    padding: 2rem;
    border-radius: 0.75rem;
    border: 1px solid rgba(34, 211, 238, 0.3);
}

/* Auth header */
.auth-header {
    text-align: center;
    margin-bottom: 2rem;
}

.auth-icon {
    width: 3rem;
    height: 3rem;
    color: #22d3ee;
    margin: 0 auto 1rem;
}

.auth-title {
    font-size: 2rem;
    font-weight: 700;
    background: linear-gradient(to right, #22d3ee, #3b82f6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.5rem;
}

.auth-description {
    color: #9ca3af;
    font-size: 0.875rem;
    text-align: center;
    line-height: 1.5;
    margin-bottom: 1rem;
}

/* Form styles */
.auth-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-label {
    display: block;
    font-size: 0.875rem;
    font-weight: 500;
    color: #d1d5db;
    margin-bottom: 0.5rem;
}

.input-container {
    position: relative;
}

.input-icon {
    position: absolute;
    left: 0.75rem;
    top: 50%;
    transform: translateY(-50%);
    width: 1.25rem;
    height: 1.25rem;
    color: #22d3ee;
}

.textarea-icon {
    top: 0.75rem;
    transform: none;
}

.form-input {
    width: 100%;
    background: rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(34, 211, 238, 0.5);
    border-radius: 0.5rem;
    padding: 0.5rem 1rem 0.5rem 2.5rem;
    color: #f3f4f6;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-input::placeholder {
    color: #6b7280;
}

.form-input:focus {
    outline: none;
    border-color: #22d3ee;
    box-shadow: 0 0 0 1px #22d3ee;
}

.form-textarea {
    min-height: 7.5rem;
    resize: vertical;
    padding-top: 0.5rem;
}

/* Auth button */
.auth-button {
    width: 100%;
    background: #22d3ee;
    color: #000000;
    padding: 0.5rem 1rem;
    border: none;
    border-radius: 0.5rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-size: 1rem;
}

.auth-button:hover {
    background: #06b6d4;
    transform: scale(1.05);
    box-shadow: 0 0 15px rgba(34, 211, 238, 0.5);
}

.auth-button:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
}

.button-icon {
    width: 1.25rem;
    height: 1.25rem;
}

/* Auth links */
.auth-links {
    margin-top: 1.5rem;
    text-align: center;
    font-size: 0.875rem;
}

.forgot-link {
    color: #22d3ee;
    text-decoration: none;
    transition: color 0.3s ease;
}

.forgot-link:hover {
    color: #06b6d4;
}

.auth-switch {
    margin-top: 0.5rem;
    color: #9ca3af;
}

.switch-link {
    color: #22d3ee;
    text-decoration: none;
    transition: color 0.3s ease;
}

.switch-link:hover {
    color: #06b6d4;
}

/* Status messages */
.status-message {
    margin-top: 1rem;
    padding: 0.75rem;
    border-radius: 0.5rem;
    text-align: center;
    font-weight: 500;
}

.status-message.success {
    background: rgba(34, 197, 94, 0.1);
    border: 1px solid rgba(34, 197, 94, 0.3);
    color: #22c55e;
}

.status-message.error {
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.3);
    color: #ef4444;
}

.status-message.loading {
    background: rgba(34, 211, 238, 0.1);
    border: 1px solid rgba(34, 211, 238, 0.3);
    color: #22d3ee;
}