/* Partner Sign-Up Page Styles */

/* Accessibility - Focus Indicators */
input:focus,
select:focus,
textarea:focus,
button:focus {
  outline: 3px solid #D15E14;
  outline-offset: 2px;
}

/* Skip to main content link */
.skip-link {
  position: absolute;
  top: -40px;
  left: 0;
  background: #D15E14;
  color: white;
  padding: 8px;
  text-decoration: none;
  z-index: 100;
}

.skip-link:focus {
  top: 0;
}

/* Help text styling */
.help-text {
  display: block;
  font-size: 12px;
  color: #666;
  margin-top: 4px;
  font-style: italic;
}

.signup-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-bottom: 30px;
}

.agreement-section {
    order: 1;
}

.form-section {
    order: 2;
}

.agreement-container {
    max-height: 600px;
    overflow-y: auto;
    border: 1px solid #e1e5e9;
    border-radius: 8px;
    padding: 20px;
    background: #f8f9fa;
    margin-bottom: 20px;
}

.agreement-content {
    font-size: 14px;
    line-height: 1.6;
    color: #333;
}

.agreement-content h1,
.agreement-content h2,
.agreement-content h3,
.agreement-content h4 {
    color: #323232;
    margin: 20px 0 10px 0;
    font-weight: 600;
}

.agreement-content h1 {
    font-size: 20px;
    border-bottom: 2px solid #D15E14;
    padding-bottom: 10px;
}

.agreement-content h2 {
    font-size: 18px;
}

.agreement-content h3 {
    font-size: 16px;
}

.agreement-content p {
    margin: 10px 0;
    text-align: justify;
}

.agreement-content ul,
.agreement-content ol {
    margin: 10px 0;
    padding-left: 20px;
}

.agreement-content li {
    margin: 5px 0;
}

.agreement-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 15px 0;
    font-size: 13px;
}

.agreement-content table th,
.agreement-content table td {
    border: 1px solid #ddd;
    padding: 8px;
    text-align: left;
}

.agreement-content table th {
    background: #f5f5f5;
    font-weight: 600;
}

.agreement-content strong {
    color: #323232;
    font-weight: 600;
}

.agreement-content em {
    font-style: italic;
    color: #666;
}

/* Signature Section */
.signature-section {
    background: #f8f9fa;
    padding: 25px;
    border-radius: 8px;
    border-left: 4px solid #D15E14;
    margin: 25px 0;
}

.signature-section h4 {
    color: #323232;
    margin-bottom: 15px;
    font-size: 18px;
}

.signature-section p {
    color: #666;
    margin-bottom: 15px;
    font-size: 14px;
}

.signature-info {
    background: white;
    padding: 15px;
    border-radius: 6px;
    border: 1px solid #e1e5e9;
    margin-top: 15px;
}

.signature-info p {
    margin: 5px 0;
    color: #333;
    font-size: 14px;
}

/* Checkbox Styling */
.checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    cursor: pointer;
    font-size: 14px;
    line-height: 1.5;
    color: #333;
    margin: 15px 0;
}

.checkbox-label input[type="checkbox"] {
    display: none;
}

.checkmark {
    width: 20px;
    height: 20px;
    border: 2px solid #D15E14;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: all 0.3s ease;
    background: white;
}

.checkbox-label input[type="checkbox"]:checked + .checkmark {
    background: #D15E14;
    border-color: #D15E14;
}

.checkbox-label input[type="checkbox"]:checked + .checkmark::after {
    content: "✓";
    color: white;
    font-weight: bold;
    font-size: 14px;
}

.checkbox-label:hover .checkmark {
    border-color: #B54A0F;
    box-shadow: 0 0 0 3px rgba(209, 94, 20, 0.1);
}

/* Application Summary */
.application-summary {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 8px;
    margin: 20px 0;
    text-align: left;
}

.application-summary h4 {
    color: #323232;
    margin-bottom: 15px;
    font-size: 16px;
}

.application-summary p {
    margin: 8px 0;
    color: #666;
    font-size: 14px;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .signup-container {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .agreement-section {
        order: 2;
    }
    
    .form-section {
        order: 1;
    }
    
    .agreement-container {
        max-height: 400px;
    }
}

@media (max-width: 768px) {
    .signup-container {
        gap: 15px;
    }
    
    .agreement-container {
        max-height: 300px;
        padding: 15px;
    }
    
    .agreement-content {
        font-size: 13px;
    }
    
    .signature-section {
        padding: 20px;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .agreement-container {
        max-height: 250px;
        padding: 10px;
    }
    
    .agreement-content {
        font-size: 12px;
    }
    
    .signature-section {
        padding: 15px;
    }
    
    .checkbox-label {
        font-size: 13px;
    }
}
