/**
 * Poster Lab Contact Page Styles
 * Matches the theme's authentication page styling
 */

/* Contact Container */
.posterlab-contact-container {
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    background: #f9f9f9;
}

.posterlab-contact-box {
    background: white;
    border-radius: 1rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    max-width: 600px;
    width: 100%;
    padding: 2.5rem;
}

/* Title and Subtitle */
.posterlab-contact-title {
    font-size: 2rem;
    font-weight: 700;
    color: #111;
    margin: 0 0 0.5rem 0;
    text-align: center;
}

.posterlab-contact-subtitle {
    font-size: 1rem;
    color: #666;
    margin: 0 0 2rem 0;
    text-align: center;
    line-height: 1.6;
}

/* Form */
.posterlab-contact-form {
    width: 100%;
}

.posterlab-form-group {
    margin-bottom: 1.5rem;
}

.posterlab-form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-size: 0.875rem;
    font-weight: 600;
    color: #111;
}

.posterlab-form-group input,
.posterlab-form-group textarea {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #e5e5e5;
    border-radius: 0.5rem;
    font-size: 1rem;
    font-family: inherit;
    transition: border-color 0.2s;
    box-sizing: border-box;
}

.posterlab-form-group input:focus,
.posterlab-form-group textarea:focus {
    outline: none;
    border-color: #0052FF;
    box-shadow: 0 0 0 3px rgba(0, 82, 255, 0.1);
}

.posterlab-form-group textarea {
    resize: vertical;
    min-height: 120px;
}

/* Button */
.posterlab-btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    font-size: 1rem;
    font-weight: 600;
    border: none;
    border-radius: 0.5rem;
    cursor: pointer;
    transition: all 0.2s;
    text-decoration: none;
    text-align: center;
    width: 100%;
    position: relative;
}

.posterlab-btn-primary {
    background: linear-gradient(90deg, #605030 0%, #C6A665 100%);
    color: white;
}

.posterlab-btn-primary:hover:not(:disabled) {
    background: linear-gradient(90deg, #705838 0%, #D4B573 100%);
}

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

.btn-loading {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.btn-loading.hidden {
    display: none;
}

.btn-text.hidden {
    display: none;
}

/* Spinner Animation */
.spinner {
    animation: spin 1s linear infinite;
}

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

/* Messages */
.posterlab-contact-message {
    padding: 1rem;
    border-radius: 0.5rem;
    margin-bottom: 1.5rem;
    font-size: 0.875rem;
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
}

.posterlab-contact-message svg {
    flex-shrink: 0;
    margin-top: 0.125rem;
}

.posterlab-contact-message-success {
    background: #efe;
    color: #060;
    border: 1px solid #cfc;
}

.posterlab-contact-message-success svg {
    color: #060;
}

.posterlab-contact-message-error {
    background: #fee;
    color: #c00;
    border: 1px solid #fcc;
}

.posterlab-contact-message-error svg {
    color: #c00;
}

.posterlab-contact-message.hidden {
    display: none;
}

/* Responsive */
@media (max-width: 768px) {
    .posterlab-contact-container {
        padding: 1rem;
    }
    
    .posterlab-contact-box {
        padding: 1.5rem;
    }
    
    .posterlab-contact-title {
        font-size: 1.5rem;
    }
    
    .posterlab-contact-subtitle {
        font-size: 0.875rem;
    }
}

