/* Signup styles that don't modify the existing styles.css */

/* Signup Prompt Inline */
.signup-prompt-inline {
    margin-top: 2rem;
    padding: 1.5rem;
    background-color: #f7f9fc;
    border-radius: 8px;
    text-align: center;
    border: 1px solid #e0e5ee;
}

.signup-prompt-inline h3 {
    color: #2e4057;
    margin-bottom: 0.75rem;
}

.signup-prompt-inline p {
    color: #5c6b7e;
    margin-bottom: 1.25rem;
}

.signup-prompt-inline .signup-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
}

.signup-prompt-inline .btn-primary,
.signup-prompt-inline .btn-secondary {
    padding: 0.75rem 1.5rem;
}

/* Auth Pages Styles */
.auth-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
}

.auth-form-container {
    flex: 1;
    min-width: 300px;
}

.homily-preview-container {
    flex: 1;
    min-width: 300px;
    background-color: #f7f9fc;
    padding: 1.5rem;
    border-radius: 8px;
    border: 1px solid #e0e5ee;
}

.auth-form {
    background-color: white;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}

.auth-form h2 {
    margin-bottom: 1.5rem;
    color: #2e4057;
}

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

.auth-form .form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.auth-form .form-group input {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #ddd;
    border-radius: 4px;
}

.success-message {
    margin-top: 1rem;
    padding: 1rem;
    border-radius: 4px;
    background-color: #e0f7e6;
    color: #2c7a42;
    font-weight: 500;
    display: none;
}

.error-message {
    margin-top: 1rem;
    padding: 1rem;
    border-radius: 4px;
    background-color: #ffe8e8;
    color: #d32f2f;
    font-weight: 500;
    display: none;
}

/* Login specific styles */
.login-auth-container {
    max-width: 500px;
    margin: 0 auto;
    padding: 2rem;
}

.login-auth-form h2 {
    text-align: center;
}

/* Forgot Password Link */
.forgot-password-link {
    text-align: right;
    margin-top: 0.5rem;
    font-size: 0.9rem;
}

.forgot-password-link a {
    color: #4e81bc;
    text-decoration: none;
    transition: color 0.2s ease;
}

.forgot-password-link a:hover {
    color: #2a6b9d;
    text-decoration: underline;
}

.password-requirements {
    font-size: 0.85rem;
    color: #666;
    margin-top: 0.5rem;
    margin-bottom: 0;
    font-style: italic;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .auth-container {
        flex-direction: column;
    }
    
    .signup-prompt-inline .signup-buttons {
        flex-direction: column;
    }
    
    .signup-prompt-inline .btn-primary,
    .signup-prompt-inline .btn-secondary {
        width: 100%;
        margin-bottom: 0.5rem;
    }
}

/* Signup and Login Styles */
.hidden {
    display: none;
}

/* Status messages */
.error {
    background-color: #fee;
    color: #c00;
    border: 1px solid #fcc;
    padding: 10px;
    margin: 15px 0;
    border-radius: 4px;
}

.success {
    background-color: #efd;
    color: #070;
    border: 1px solid #cfc;
    padding: 10px;
    margin: 15px 0;
    border-radius: 4px;
}

.loading {
    color: #666;
    padding: 10px;
    margin: 15px 0;
}

/* Signup container */
.signup-container {
    display: flex;
    gap: 30px;
    max-width: 1000px;
    margin: 40px auto;
}

.signup-form {
    flex: 1;
    background-color: white;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.homily-preview {
    flex: 1;
    background-color: white;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    max-height: 600px;
    overflow-y: auto;
}

/* Preview styles */
.preview-header {
    margin-bottom: 20px;
}

.preview-header h3 {
    margin-bottom: 5px;
    color: var(--primary-darker);
}

.passage-ref {
    color: var(--primary);
    font-weight: 500;
    margin-bottom: 15px;
}

.preview-content {
    margin-bottom: 20px;
}

.preview-content.truncated {
    position: relative;
    max-height: 400px;
    overflow: hidden;
}

.preview-content.truncated::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 80px;
    background: linear-gradient(transparent, white);
}

.preview-footer {
    padding-top: 15px;
    border-top: 1px solid #eee;
    font-style: italic;
    color: #666;
    text-align: center;
}

/* Form styles */
.form-group {
    margin-bottom: 20px;
}

label {
    display: block;
    margin-bottom: 5px;
    font-weight: 500;
}

input[type="text"],
input[type="email"],
input[type="password"] {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 16px;
}

input:focus {
    border-color: var(--primary);
    outline: none;
    box-shadow: 0 0 0 2px rgba(var(--primary-rgb), 0.2);
}

small {
    display: block;
    color: #666;
    margin-top: 5px;
}

.full-width {
    width: 100%;
}

.login-link, .signup-link {
    text-align: center;
    margin-top: 20px;
    color: #666;
}

.login-link a, .signup-link a {
    color: var(--primary);
    text-decoration: none;
}

.login-link a:hover, .signup-link a:hover {
    text-decoration: underline;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .signup-container {
        flex-direction: column;
    }
    
    .homily-preview {
        max-height: 300px;
    }
}

/* Homily content container styles for the overlay */
.homily-content-container {
    position: relative;
    padding-bottom: 100px; /* Space for the overlay */
}

/* Signup overlay specific styles */
.signup-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(255, 255, 255, 0.9) 20%, white);
    padding: 100px 20px 20px;
    text-align: center;
    border-radius: 0 0 8px 8px;
}

.signup-overlay-content {
    background-color: #f5f5f5;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    max-width: 500px;
    margin: 0 auto;
}

.signup-overlay h3 {
    color: var(--primary-darker);
    margin-bottom: 10px;
}

.signup-overlay p {
    margin-bottom: 20px;
}

.signup-overlay-buttons {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

@media (min-width: 768px) {
    .signup-overlay-buttons {
        flex-direction: row;
        justify-content: center;
    }
} 