/* Membership Page Specific Styles */

.membership-main {
    margin-top: 80px;
    padding: 2rem 0;
    background: #f8fafc;
    min-height: calc(100vh - 80px);
}

/* Page Title */
.page-title {
    text-align: center;
    margin-bottom: 2rem;
}

.page-title h1 {
    font-size: 2.2rem;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 0.5rem;
}

.page-title p {
    font-size: 1rem;
    color: #6b7280;
    max-width: 600px;
    margin: 0 auto;
}

/* Membership Content Layout */
.membership-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

/* Application Panel */
.application-panel {
    background: white;
    padding: 1.5rem;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.application-panel h2 {
    font-size: 1.3rem;
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 1.5rem;
}

/* Form Styles */
.membership-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.form-group label {
    font-weight: 500;
    color: #374151;
    font-size: 0.85rem;
}

.form-group input {
    padding: 0.6rem;
    border: 2px solid #e5e7eb;
    border-radius: 6px;
    font-size: 0.9rem;
    transition: border-color 0.3s ease;
}

.form-group input:focus {
    outline: none;
    border-color: #2563eb;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.form-group input::placeholder {
    color: #9ca3af;
}

/* File Upload Styles */
.file-upload {
    position: relative;
}

.file-upload input[type="file"] {
    position: absolute;
    opacity: 0;
    width: 100%;
    height: 100%;
    cursor: pointer;
    z-index: 2;
}

.upload-area {
    border: 2px dashed #d1d5db;
    border-radius: 6px;
    padding: 1.5rem;
    text-align: center;
    background: #f9fafb;
    transition: all 0.3s ease;
    cursor: pointer;
}

.upload-area:hover {
    border-color: #2563eb;
    background: #f0f9ff;
}

.upload-icon {
    font-size: 1.5rem;
    color: #6b7280;
    margin-bottom: 0.75rem;
}

.upload-area p {
    font-weight: 500;
    color: #374151;
    margin-bottom: 0.4rem;
    font-size: 0.9rem;
}

.upload-area small {
    color: #6b7280;
    font-size: 0.8rem;
}

/* Button Styles */
.btn-large {
    padding: 1rem 2rem;
    font-size: 1.1rem;
    font-weight: 600;
    margin-top: 1rem;
}

/* Override outline button style for membership page */
.membership-main .btn-outline {
    background: white;
    color: #2563eb;
    border: 2px solid #2563eb;
}

.membership-main .btn-outline:hover {
    background: #2563eb;
    color: white;
}

/* Plans Panel */
.plans-panel {
    background: white;
    padding: 1.5rem;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.plans-panel h2 {
    font-size: 1.3rem;
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 1.5rem;
}

/* Plan Options */
.plan-options {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    margin-bottom: 1.5rem;
}

.plan-option {
    position: relative;
}

.plan-option input[type="radio"] {
    position: absolute;
    opacity: 0;
    cursor: pointer;
}

.plan-label {
    display: block;
    padding: 1.2rem;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    background: white;
}

.plan-option input[type="radio"]:checked + .plan-label {
    border-color: #2563eb;
    background: #f0f9ff;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.plan-label:hover {
    border-color: #2563eb;
    transform: translateY(-2px);
}

.plan-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.8rem;
}

.plan-header h3 {
    font-size: 1.1rem;
    font-weight: 600;
    color: #1f2937;
    margin: 0;
}

.plan-price {
    font-size: 1.3rem;
    font-weight: 700;
    color: #2563eb;
}

.plan-features {
    list-style: none;
    padding: 0;
    margin: 0;
}

.plan-features li {
    padding: 0.4rem 0;
    color: #6b7280;
    position: relative;
    padding-left: 1.2rem;
    font-size: 0.9rem;
}

.plan-features li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #10b981;
    font-weight: bold;
}

/* Verification Info */
.verification-info {
    background: #fef3c7;
    border: 1px solid #f59e0b;
    border-radius: 6px;
    padding: 0.8rem;
    display: flex;
    gap: 0.8rem;
    align-items: flex-start;
}

.info-icon {
    font-size: 1.1rem;
    color: #f59e0b;
    font-weight: bold;
    flex-shrink: 0;
    margin-top: 0.125rem;
}

.info-content h4 {
    font-size: 0.9rem;
    font-weight: 600;
    color: #92400e;
    margin: 0 0 0.4rem 0;
}

.info-content p {
    font-size: 0.8rem;
    color: #92400e;
    margin: 0;
    line-height: 1.4;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .membership-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

@media (max-width: 768px) {
    .membership-main {
        padding: 2rem 0;
    }
    
    .page-title h1 {
        font-size: 2rem;
    }
    
    .application-panel,
    .plans-panel {
        padding: 1.5rem;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .plan-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
    
    .verification-info {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .page-title h1 {
        font-size: 1.75rem;
    }
    
    .application-panel,
    .plans-panel {
        padding: 1rem;
    }
    
    .upload-area {
        padding: 1.5rem;
    }
    
    .plan-label {
        padding: 1rem;
    }
}

/* Focus styles for accessibility */
.form-group input:focus,
.plan-label:focus-within {
    outline: 2px solid #2563eb;
    outline-offset: 2px;
}

/* Animation for form submission */
@keyframes formSubmit {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(0.98);
    }
    100% {
        transform: scale(1);
    }
}

.form-submitting {
    animation: formSubmit 0.3s ease;
}

/* Success state for file upload */
.file-upload.has-file .upload-area {
    border-color: #10b981;
    background: #f0fdf4;
}

.file-upload.has-file .upload-icon {
    color: #10b981;
}

.file-upload.has-file p {
    color: #065f46;
} 