/* Minimal styles for Fitbit authentication */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f8f9fa;
    min-height: 100vh;
}

.container {
    width: 100%;
    max-width: 1200px;
    padding: 20px;
    margin: 0 auto;
}

/* Special styles for auth pages only */
.auth-page body {
    display: flex;
    align-items: center;
    justify-content: center;
}

.auth-page .container {
    max-width: 400px;
}

.auth-card {
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    padding: 2rem;
    text-align: center;
}

h1 {
    color: #333;
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

h2 {
    color: #333;
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

h3 {
    color: #333;
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

p {
    margin-bottom: 1.5rem;
    color: #666;
}

.form-group {
    margin-bottom: 1rem;
    text-align: left;
}

label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: #333;
}

input[type="text"] {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 1rem;
    transition: border-color 0.3s;
}

input[type="text"]:focus {
    outline: none;
    border-color: #007cba;
}

.btn {
    background-color: #007cba;
    color: white;
    padding: 12px 24px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 500;
    transition: background-color 0.3s;
    width: 100%;
    text-decoration: none;
    display: inline-block;
    margin: 0.5rem;
}

.btn:hover {
    background-color: #005a87;
}

.btn:disabled {
    background-color: #ccc;
    cursor: not-allowed;
}

.btn-secondary {
    background-color: #6c757d;
}

.btn-secondary:hover {
    background-color: #545b62;
}

.error {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
    padding: 12px;
    border-radius: 4px;
    margin-bottom: 1rem;
    text-align: left;
}

.error-message {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
    padding: 12px;
    border-radius: 4px;
    margin-bottom: 1rem;
    text-align: left;
}

.success {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
    padding: 12px;
    border-radius: 4px;
    margin-bottom: 1rem;
    text-align: left;
}

/* Error page styles */
.error-container {
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    padding: 2rem;
    text-align: center;
}

.error-actions {
    margin: 1.5rem 0;
}

.error-actions .btn {
    width: auto;
    min-width: 120px;
}

.error-help {
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid #eee;
    text-align: left;
}

.error-help ul {
    list-style: none;
    padding: 0;
}

.error-help li {
    margin-bottom: 0.5rem;
    color: #666;
}

/* Loading state */
.loading {
    opacity: 0.6;
    pointer-events: none;
}

/* Mobile responsiveness */
@media (max-width: 480px) {
    .container {
        padding: 10px;
    }
    
    .auth-card,
    .error-container {
        padding: 1.5rem;
    }
    
    .error-actions .btn {
        width: 100%;
        margin: 0.25rem 0;
    }
} 

/* Contact Form Styles */
.contact-form-container {
    max-width: 600px;
    margin: 2rem auto;
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    padding: 2rem;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-group label {
    font-weight: 600;
    color: #333;
    font-size: 0.9rem;
}

.form-input, .form-textarea {
    padding: 0.75rem;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-input:focus, .form-textarea:focus {
    outline: none;
    border-color: #007bff;
    box-shadow: 0 0 0 2px rgba(0, 123, 255, 0.25);
}

.form-textarea {
    resize: vertical;
    min-height: 120px;
}

.checkbox-group {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    font-size: 0.9rem;
}

.checkbox-input {
    display: none;
}

.checkbox-custom {
    width: 18px;
    height: 18px;
    border: 2px solid #ddd;
    border-radius: 3px;
    position: relative;
    transition: all 0.3s ease;
}

.checkbox-input:checked + .checkbox-custom {
    background-color: #007bff;
    border-color: #007bff;
}

.checkbox-input:checked + .checkbox-custom::after {
    content: '✓';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-size: 12px;
    font-weight: bold;
}

.form-actions {
    display: flex;
    gap: 1rem;
    justify-content: flex-start;
    margin-top: 1rem;
}

/* Account Page Styles */
.account-section {
    display: grid;
    gap: 2rem;
    max-width: 800px;
    margin: 0 auto;
}

.account-card {
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    padding: 2rem;
}

.account-card h2 {
    margin-bottom: 1.5rem;
    color: #333;
    border-bottom: 2px solid #f0f0f0;
    padding-bottom: 0.5rem;
}

.info-group {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.info-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 0;
    border-bottom: 1px solid #f0f0f0;
}

.info-item:last-child {
    border-bottom: none;
}

.info-label {
    font-weight: 600;
    color: #555;
    min-width: 150px;
}

.info-value {
    color: #333;
    text-align: right;
    flex: 1;
}

.account-actions {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
    justify-content: flex-start;
}

/* Content Section Styles */
.content-section {
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    padding: 2rem;
    margin-top: 2rem;
}

.content-section h2 {
    margin-bottom: 1.5rem;
    color: #333;
    border-bottom: 2px solid #f0f0f0;
    padding-bottom: 0.5rem;
}

.lorem-content {
    line-height: 1.6;
    color: #555;
}

.lorem-content p {
    margin-bottom: 1rem;
}

.lorem-content h3 {
    margin: 1.5rem 0 1rem 0;
    color: #333;
}

.lorem-content ul {
    margin: 1rem 0;
    padding-left: 2rem;
}

.lorem-content li {
    margin-bottom: 0.5rem;
}

/* Button Styles */
.btn {
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 4px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    text-align: center;
}

.btn-primary {
    background-color: #007bff;
    color: white;
}

.btn-primary:hover {
    background-color: #0056b3;
    transform: translateY(-1px);
}

.btn-secondary {
    background-color: #6c757d;
    color: white;
}

.btn-secondary:hover {
    background-color: #545b62;
    transform: translateY(-1px);
}

/* Responsive Design */
@media (max-width: 768px) {
    .contact-form-container {
        margin: 1rem;
        padding: 1.5rem;
    }
    
    .account-section {
        margin: 1rem;
    }
    
    .account-card {
        padding: 1.5rem;
    }
    
    .info-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
    
    .info-value {
        text-align: left;
    }
    
    .form-actions, .account-actions {
        flex-direction: column;
    }
    
    .btn {
        width: 100%;
    }
}

/* Header styles from home page */
.header {
    background-color: white !important;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1) !important;
    padding: 1rem 2rem !important;
    position: sticky !important;
    top: 0 !important;
    z-index: 100 !important;
}

.header-content {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    max-width: 1200px !important;
    margin: 0 auto !important;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.logo-emoji {
    font-size: 2rem;
}

.logo-text {
    display: flex;
    flex-direction: column;
}

.logo-title {
    font-weight: bold;
    font-size: 1.5rem;
    color: #333;
    line-height: 1;
}

.logo-subtitle {
    font-size: 0.8rem;
    color: #666;
    line-height: 1;
}

.nav-menu {
    display: flex !important;
    gap: 2rem !important;
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
}

.nav-menu li a {
    text-decoration: none !important;
    color: #333 !important;
    font-weight: 500 !important;
    padding: 0.5rem 1rem !important;
    border-radius: 4px !important;
    transition: background-color 0.3s !important;
}

.nav-menu li a:hover {
    background-color: #f0f0f0;
}

.nav-menu li a.active {
    background-color: #007cba;
    color: white;
}

@media (max-width: 768px) {
    .header-content {
        flex-direction: column;
        gap: 1rem;
    }

    .nav-menu {
        gap: 1rem;
    }

    .nav-menu li a {
        padding: 0.25rem 0.5rem;
        font-size: 0.9rem;
    }
} 