/* Partner Application Specific Styles */
body {
    font-family: 'Inter', sans-serif;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    margin: 0;
    padding: 0;
}

.partner-application-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
    min-height: 100vh;
}

.application-header {
    text-align: center;
    margin-bottom: 3rem;
}

.application-header .logo img {
    height: 60px;
    margin-bottom: 1rem;
}

.application-header h1 {
    font-size: 2.5rem;
    color: #2d3748;
    margin-bottom: 0.5rem;
}

.application-header p {
    color: #718096;
    font-size: 1.1rem;
}

/* Progress Bar */
.progress-bar {
    display: flex;
    justify-content: center;
    margin-bottom: 3rem;
    position: relative;
}

.progress-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    flex: 1;
    max-width: 200px;
}

.progress-step::after {
    content: '';
    position: absolute;
    top: 20px;
    right: -50%;
    width: 100%;
    height: 2px;
    background: #e2e8f0;
    z-index: 1;
}

.progress-step:last-child::after {
    display: none;
}

.progress-step.completed::after {
    background: #4299e1;
}

.step-number {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #e2e8f0;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    margin-bottom: 0.5rem;
    position: relative;
    z-index: 2;
}

.progress-step.active .step-number {
    background: #4299e1;
}

.progress-step.completed .step-number {
    background: #48bb78;
}

.step-label {
    font-size: 0.875rem;
    font-weight: 500;
    color: #718096;
}

.progress-step.active .step-label {
    color: #4299e1;
}

/* Form Steps */
.form-step {
    display: none;
    background: white;
    padding: 2rem;
    border-radius: 1rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    margin-bottom: 2rem;
}

.form-step h2 {
    font-size: 2rem;
    font-weight: 700;
    color: #2d3748;
    margin-bottom: 1rem;
}

/* Partner Type Selection */
.partner-type-categories {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.category-section h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: #4a5568;
    margin-bottom: 1rem;
}

.partner-type-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1rem;
}

.partner-type-card {
    background: white;
    border: 2px solid #e2e8f0;
    border-radius: 0.5rem;
    padding: 1.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
}

.partner-type-card:hover {
    border-color: #4299e1;
    transform: translateY(-2px);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.partner-type-card.selected {
    border-color: #4299e1;
    background: rgba(66, 153, 225, 0.05);
}

.partner-type-card i {
    font-size: 2rem;
    color: #4299e1;
    margin-bottom: 1rem;
}

.partner-type-card h4 {
    font-size: 1.25rem;
    font-weight: 600;
    color: #2d3748;
    margin-bottom: 0.5rem;
}

.partner-type-card p {
    color: #718096;
    font-size: 0.9rem;
}

/* Form Elements */
.form-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1rem;
}

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

.form-group label {
    display: block;
    font-weight: 600;
    color: #4a5568;
    margin-bottom: 0.5rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 2px solid #e2e8f0;
    border-radius: 0.5rem;
    font-size: 1rem;
    transition: border-color 0.3s ease;
    box-sizing: border-box;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #4299e1;
    box-shadow: 0 0 0 3px rgba(66, 153, 225, 0.1);
}

.checkbox-group {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 0.5rem;
}

.checkbox-group label {
    display: flex;
    align-items: center;
    font-weight: normal;
    margin-bottom: 0;
}

.checkbox-group input[type="checkbox"] {
    width: auto;
    margin-right: 0.5rem;
}

/* Form Navigation */
.form-navigation {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 2rem;
    border-top: 1px solid #e2e8f0;
}

.form-navigation button {
    padding: 0.75rem 2rem;
    border: none;
    border-radius: 0.5rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-primary {
    background: #4299e1;
    color: white;
}

.btn-primary:hover {
    background: #3182ce;
}

.btn-secondary {
    background: transparent;
    color: #718096;
    border: 2px solid #e2e8f0;
}

.btn-secondary:hover {
    border-color: #4299e1;
    color: #4299e1;
}

.btn-success {
    background: #48bb78;
    color: white;
}

.btn-success:hover {
    background: #38a169;
}

/* Application Review */
.application-review {
    background: #f7fafc;
    padding: 2rem;
    border-radius: 0.5rem;
    margin-bottom: 2rem;
}

.review-section {
    margin-bottom: 1.5rem;
}

.review-section h4 {
    font-weight: 600;
    color: #4299e1;
    margin-bottom: 0.5rem;
}

.tagline {
    font-style: italic;
    color: #718096;
}

.terms-agreement {
    margin: 2rem 0;
    text-align: center;
}

.terms-agreement label {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .partner-application-container {
        padding: 1rem;
    }
    
    .progress-bar {
        flex-direction: column;
        gap: 1rem;
    }
    
    .progress-step::after {
        display: none;
    }
    
    .partner-type-grid {
        grid-template-columns: 1fr;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .checkbox-group {
        grid-template-columns: 1fr;
    }
}


/* Enhanced Service Categories Grid */
.service-categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    margin-top: 1rem;
}

.service-category-group {
    background: #f8f9fa;
    padding: 1rem;
    border-radius: 0.5rem;
    border: 1px solid #e2e8f0;
}

.service-category-group h5 {
    color: #4299e1;
    font-weight: 600;
    margin-bottom: 0.75rem;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.service-category-group .checkbox-group {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.service-category-group .checkbox-group label {
    font-size: 0.875rem;
    padding: 0.25rem 0;
}

/* Partner type cards enhancement */
.partner-type-card.ecosystem {
    border-left: 4px solid #4299e1;
}

.partner-type-card.service {
    border-left: 4px solid #48bb78;
}

/* Responsive improvements */
@media (max-width: 768px) {
    .service-categories-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .service-category-group {
        padding: 0.75rem;
    }
}
