/* Import header styles */
@import 'header-style.css';

/* 
 * Registration Process Styles
 * Custom styles for the trademark registration process
 */

:root {
    --primary-color: #0069ff;
    --secondary-color: #6c757d;
    --success-color: #28a745;
    --warning-color: #ffc107;
    --danger-color: #dc3545;
    --light-color: #f8f9fa;
    --dark-color: #343a40;
    --white-color: #ffffff;
    --border-color: #dee2e6;
    --border-radius: 4px;
    --box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
}

/* General Layout */
body.registration-process {
    font-family: "Avenir", -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
    color: #333;
    line-height: 1.6;
    background-color: #f7f9fc;
    margin: 0;
    padding: 0;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.registration-header {
    background-color: var(--white-color);
    border-bottom: 1px solid #e6e9f0;
    padding: 15px 0;
    box-shadow: var(--box-shadow);
}

.registration-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.site-branding img {
    max-height: 40px;
}

.header-actions {
    display: flex;
    align-items: center;
}

.header-actions a {
    margin-left: 20px;
    text-decoration: none;
    color: #4a5568;
    font-size: 14px;
    font-weight: 500;
    display: flex;
    align-items: center;
}

.header-actions a i {
    margin-right: 6px;
    font-size: 16px;
}

.header-actions .support-link:hover {
    color: var(--primary-color);
}

.header-actions .save-link {
    color: var(--primary-color);
}

.main-content {
    margin-top: 80px; /* Height of the fixed header */
    padding: 2rem 0;
}

.application-wrapper {
    background-color: #fff;
    border-radius: 8px;
    max-width: 900px;
    margin: 0 auto;
    overflow: hidden;
}

.save-progress-bar {
    background-color: #f1f5f9;
    padding: 10px 20px;
    text-align: right;
}

.save-progress-link {
    color: var(--primary-color);
    font-size: 14px;
    text-decoration: none;
    font-weight: 500;
}

.save-progress-link:hover {
    text-decoration: underline;
}

.registration-footer {
    background-color: var(--white-color);
    border-top: 1px solid #e6e9f0;
    padding: 20px 0;
    margin-top: 60px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    font-size: 14px;
}

.footer-links a {
    margin: 0 10px;
    color: #4a5568;
    text-decoration: none;
}

.footer-links a:hover {
    color: var(--primary-color);
    text-decoration: underline;
}

.footer-security {
    color: #4a5568;
}

.footer-security i {
    color: var(--success-color);
    margin-right: 5px;
}

/* Registration Step Specific Styles */
.registration-step {
    padding: 30px;
}

.step-header {
    text-align: center;
    margin-bottom: 40px;
}

.step-progress {
    margin-bottom: 25px;
}

.progress {
    height: 6px;
    background-color: #e2e8f0;
    border-radius: 5px;
    overflow: hidden;
    margin-bottom: 10px;
}

.progress-bar {
    height: 100%;
    background-color: var(--primary-color);
    border-radius: 5px;
}

.step-count {
    font-size: 14px;
    color: #718096;
    text-align: right;
}

.step-title {
    font-size: 28px;
    font-weight: 700;
    color: #2d3748;
    margin-bottom: 10px;
    padding-top: 10%;
}

.step-description {
    color: #718096;
    font-size: 18px;
    max-width: 600px;
    margin: 0 auto;
}

/* Step 1 Specific Styles */
.trademark-options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    margin-bottom: 40px;
}

.trademark-option {
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    padding: 25px;
    display: flex;
    cursor: pointer;
    transition: all 0.2s ease;
}

.trademark-option:hover {
    border-color: #cbd5e0;
    background-color: #f8fafc;
}

.trademark-option.selected {
    border-color: var(--primary-color);
    background-color: rgba(0, 105, 255, 0.05);
}

.option-icon {
    flex: 0 0 50px;
    height: 50px;
    background-color: #f1f5f9;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
}

.option-icon i {
    font-size: 22px;
    color: var(--primary-color);
}

.option-content {
    flex: 1;
}

.option-content h3 {
    font-size: 18px;
    font-weight: 600;
    margin: 0 0 8px;
    color: #2d3748;
}

.option-content p {
    font-size: 14px;
    color: #718096;
    margin: 0;
}

.option-select {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: 15px;
}

.hidden-radio {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.select-circle {
    width: 20px;
    height: 20px;
    border: 2px solid #cbd5e0;
    border-radius: 50%;
    display: block;
    position: relative;
    cursor: pointer;
}

.select-circle::after {
    content: "";
    position: absolute;
    top: 3px;
    left: 3px;
    width: 10px;
    height: 10px;
    background-color: var(--primary-color);
    border-radius: 50%;
    opacity: 0;
    transition: opacity 0.2s ease;
}

.hidden-radio:checked + .select-circle {
    border-color: var(--primary-color);
}

.hidden-radio:checked + .select-circle::after {
    opacity: 1;
}

/* Step 2 Specific Styles */
.form-section {
    margin-bottom: 30px;
}

.form-label {
    display: block;
    font-weight: 600;
    margin-bottom: 10px;
    color: #2d3748;
}

.form-control {
    width: 100%;
    padding: 12px 15px;
    font-size: 16px;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    transition: all 0.2s ease;
}

.form-control:focus {
    border-color: var(--primary-color);
    outline: none;
    box-shadow: 0 0 0 3px rgba(0, 105, 255, 0.1);
}

.form-help {
    font-size: 14px;
    color: #718096;
    margin-top: 6px;
}

.trademark-preview {
    background-color: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    padding: 20px;
    margin-bottom: 30px;
}

.trademark-preview h3 {
    font-size: 16px;
    color: #4a5568;
    margin: 0 0 15px;
    font-weight: 600;
}

.preview-display {
    font-size: 24px;
    font-weight: 700;
    color: #2d3748;
    text-align: center;
    padding: 20px;
    min-height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo-upload-area {
    border: 2px dashed #cbd5e0;
    border-radius: 6px;
    padding: 40px 20px;
    text-align: center;
    transition: all 0.2s ease;
    cursor: pointer;
}

.logo-upload-area.highlight {
    border-color: var(--primary-color);
    background-color: rgba(0, 105, 255, 0.05);
}

.upload-label {
    display: block;
    cursor: pointer;
}

.upload-icon {
    font-size: 48px;
    color: #a0aec0;
    margin-bottom: 15px;
}

.upload-text {
    margin-bottom: 10px;
}

.primary-text {
    display: block;
    font-size: 18px;
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 5px;
}

.secondary-text {
    display: block;
    font-size: 16px;
    color: #718096;
}

.upload-formats {
    font-size: 14px;
    color: #a0aec0;
}

.hidden-upload {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.logo-preview-container {
    margin-top: 20px;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    overflow: hidden;
}

.preview-header {
    background-color: #f8fafc;
    padding: 10px 15px;
    border-bottom: 1px solid #e2e8f0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.preview-header h3 {
    font-size: 16px;
    margin: 0;
    color: #4a5568;
    font-weight: 600;
}

.remove-logo {
    background: none;
    border: none;
    color: var(--danger-color);
    font-size: 14px;
    cursor: pointer;
    display: flex;
    align-items: center;
}

.remove-logo i {
    margin-right: 5px;
}

.preview-image-container {
    padding: 20px;
    text-align: center;
    background-color: #fff;
}

.preview-image-container img {
    max-width: 100%;
    max-height: 300px;
}

/* Logo Fallback Text Styles */
.logo-fallback-text {
    font-size: 24px;
    font-weight: 700;
    color: #2d3748;
    background-color: #f1f5f9;
    border-radius: 5px;
    padding: 30px;
    margin: 15px auto;
    text-align: center;
    max-width: 400px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

/* Form Navigation */
.form-navigation {
    display: flex;
    justify-content: space-between;
    padding-top: 20px;
    margin-top: 40px;
    border-top: 1px solid #e2e8f0;
}

.btn {
    display: inline-block;
    font-weight: 500;
    text-align: center;
    white-space: nowrap;
    vertical-align: middle;
    user-select: none;
    border: 1px solid transparent;
    padding: 0.5rem 1rem;
    font-size: 1rem;
    line-height: 1.5;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.15s ease-in-out;
}

.btn-primary {
    color: #fff;
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    padding: 12px 32px;
    font-size: 16px;
}

.btn-primary:hover {
    background-color: #005ce6;
    border-color: #005ce6;
}

.btn-primary:disabled {
    background-color: #99c4ff;
    border-color: #99c4ff;
    cursor: not-allowed;
}

.btn-secondary {
    color: #4a5568;
    background-color: #f8fafc;
    border-color: #e2e8f0;
    padding: 12px 24px;
}

.btn-secondary:hover {
    background-color: #edf2f7;
    color: black;
}

.btn-back {
    display: flex;
    align-items: center;
}

.btn-back i {
    margin-right: 8px;
}

.btn-continue {
    min-width: 180px;
}

/* Help Section */
.help-section {
    margin-top: 50px;
    background-color: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 0;
    overflow: hidden;
}

.help-title {
    padding: 15px 20px;
    background-color: #f1f5f9;
    border-bottom: 1px solid #e2e8f0;
    font-weight: 600;
    color: #4a5568;
    cursor: pointer;
    display: flex;
    align-items: center;
}

.help-title i {
    margin-right: 8px;
    color: var(--primary-color);
}

.help-content {
    padding: 20px;
    font-size: 14px;
    color: #4a5568;
    display: none;
}

.help-content p {
    margin: 0 0 10px;
}

.help-content p:last-child {
    margin-bottom: 0;
}

.help-content p strong {
    color: #2d3748;
}

.help-content ul {
    margin: 0 0 15px;
    padding-left: 20px;
}

.help-content ul li {
    margin-bottom: 8px;
}

.help-content ul li:last-child {
    margin-bottom: 0;
}

.help-section.active .help-content {
    display: block;
}

/* Additional Information Section */
.additional-info-section {
    margin-top: 30px;
    border-top: 1px solid #e2e8f0;
    padding-top: 25px;
    transition: all 0.3s ease;
}

#logo-upload-notice {
    color: #dc3545;
    font-weight: 500;
    margin-bottom: 15px;
    padding: 10px 15px;
    background-color: rgba(220, 53, 69, 0.1);
    border-left: 3px solid #dc3545;
    border-radius: 3px;
}

.form-group {
    margin-bottom: 20px;
}

.logo-description {
    background-color: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    padding: 15px;
    margin-bottom: 20px;
}

.logo-description h4 {
    font-size: 16px;
    font-weight: 600;
    color: #4a5568;
    margin: 0 0 8px;
}

.logo-description p {
    font-size: 14px;
    color: #4a5568;
    margin: 0;
    line-height: 1.5;
}

/* Trademark Usage Section */
.trademark-usage-section {
    margin-top: 40px;
    padding-top: 30px;
    border-top: 1px solid #e2e8f0;
}

.usage-options {
    margin-bottom: 20px;
}

.usage-option {
    /* Inherits styles from .trademark-option */
}

.usage-option .option-icon i.fa-check {
    color: #28a745;
}

.usage-option .option-icon i.fa-times {
    color: #dc3545;
}

.usage-detail-item {
    margin-bottom: 25px;
}

.usage-detail-title {
    font-size: 16px;
    font-weight: 600;
    color: #2d3748;
    margin-bottom: 12px;
}

.date-selectors {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.date-select {
    flex: 1;
    min-width: 0;
    padding: 12px 15px;
    font-size: 16px;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    background-color: #fff;
    color: #4a5568;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%234a5568' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 15px center;
    background-size: 16px;
    cursor: pointer;
}

.date-select:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(0, 105, 255, 0.1);
}

.year-select {
    flex: 2;
}

.usage-info-box {
    background-color: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    padding: 20px;
}

.usage-info-box p {
    margin: 0;
    color: #4a5568;
    line-height: 1.6;
    font-size: 15px;
}

/* Step 2 - Owner Information Styles */
.trademark-application-process {
    margin-bottom: 30px;
    border-bottom: 1px solid #e2e8f0;
    padding-bottom: 15px;
}

.process-title {
    font-size: 20px;
    font-weight: 600;
    color: #2d3748;
    margin: 0;
}

.step-number {
    color: #718096;
    font-weight: normal;
}

.owner-information-section {
    margin-bottom: 40px;
}

.section-title {
    color: #F05B25;
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 20px;
    border-bottom: 1px solid #e2e8f0;
    padding-bottom: 10px;
}

.owner-question {
    margin-bottom: 25px;
}

.owner-question p {
    margin: 0 0 10px;
    color: #2d3748;
    font-weight: 600;
}

.owner-question p.description {
    font-weight: normal;
    color: #718096;
    font-size: 15px;
    line-height: 1.6;
}

.owner-options {
    display: flex;
    gap: 15px;
    margin-bottom: 30px;
}

.owner-option {
    flex: 1;
    max-width: 200px;
}

.option-label {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px 15px;
    background-color: #f8fafc;
    border: 2px solid #e2e8f0;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.2s ease;
    color: #4a5568;
    font-size: 16px;
}

.option-label:hover {
    background-color: #f1f5f9;
}

.option-label i {
    margin-right: 8px;
}

input[name="owner_type"]:checked + .option-label {
    background-color: #F5F8FF;
    border-color: #F05B25;
    color: #F05B25;
}

.individual-label i {
    color: #3b82f6;
}

.organization-label i {
    color: #8b5cf6;
}

.owner-fields {
    margin-top: 30px;
}

.form-row {
    margin-bottom: 20px;
}

.form-group {
    position: relative;
}

.form-group.required label::after {
    content: "*";
    color: #F05B25;
    margin-left: 4px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: #4a5568;
    font-size: 15px;
}

.subsection-title {
    font-size: 18px;
    font-weight: 600;
    color: #2d3748;
    margin: 30px 0 20px;
}

.personal-section {
    margin-top: 40px;
}

.personal-section .description {
    color: #718096;
    font-size: 15px;
    margin-bottom: 20px;
}

.add-owner-btn {
    display: inline-flex;
    align-items: center;
    padding: 10px 20px;
    background-color: #e9eef6;
    border: none;
    border-radius: 5px;
    color: #3b82f6;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    margin-top: 20px;
}

.add-owner-btn:hover {
    background-color: #dbeafe;
}

.add-owner-btn i {
    margin-right: 8px;
}

.consent-section {
    margin: 30px 0;
    padding-top: 20px;
    border-top: 1px solid #e2e8f0;
}

.checkbox-container {
    display: flex;
    align-items: center;
}

.consent-checkbox {
    margin-right: 10px;
    width: 18px;
    height: 18px;
    accent-color: #101828;
}

.consent-label {
    font-size: 15px;
    color: #4a5568;
}

.form-info-text {
    display: flex;
    align-items: center;
    margin-bottom: 30px;
}

.form-info-text p {
    color: #4a5568;
    font-size: 14px;
    margin: 0;
}

.form-info-text i {
    margin-right: 8px;
    color: #718096;
}

.btn-previous {
    background-color: white;
    border: 1px solid #e2e8f0;
    color: #4a5568;
}

.btn-previous:hover {
    background-color: #f8fafc;
}

.btn-continue {
    background-color: #F05B25;
    border-color: #F05B25;
}

.btn-continue:hover {
    background-color: #e04d1a;
    border-color: #e04d1a;
}

.btn i {
    margin: 0 5px;
}

/* Responsive Styles */
@media (max-width: 768px) {
    .trademark-options {
        grid-template-columns: 1fr;
    }
    
    .step-title {
        font-size: 24px;
    }
    
    .step-description {
        font-size: 16px;
    }
    
    .registration-step {
        padding: 20px;
    }
    
    .form-navigation {
        flex-direction: column;
        gap: 15px;
    }
    
    .btn-back {
        order: 2;
        width: 100%;
        justify-content: center;
    }
    
    .btn-continue {
        order: 1;
        width: 100%;
    }
    
    .date-selectors {
        flex-direction: column;
    }
    
    .date-select {
        width: 100%;
    }
    
    .owner-options {
        flex-direction: column;
    }
    
    .owner-option {
        max-width: 100%;
    }
    
    .option-label {
        justify-content: flex-start;
    }
}

@media (max-width: 576px) {
    .header-actions a span {
        display: none;
    }
    
    .header-actions a i {
        margin-right: 0;
        font-size: 20px;
    }
    
    .footer-content {
        flex-direction: column;
        text-align: center;
    }
    
    .footer-info, .footer-links, .footer-security {
        margin-bottom: 10px;
    }
    
    .preview-display {
        font-size: 20px;
    }
}

/* Registration Process Styles */
.registration-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem 1rem;
    font-family: 'Open Sans', sans-serif;
}

.registration-progress {
    margin-bottom: 2rem;
}

.progress {
    height: 10px;
    border-radius: 5px;
    background-color: #f1f1f1;
    overflow: hidden;
}

.progress-bar {
    background-color: #0056b3;
    transition: width 0.3s ease;
}

.registration-content {
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    padding: 2rem;
}

.trademark-application-process {
    text-align: left;
    margin-bottom: 2rem;
}

.process-title {
    font-size: 28px;
    font-weight: 700;
    color: #333;
    margin-bottom: 1rem;
}

.step-number {
    color: #0056b3;
    font-weight: 400;
}

.section-title {
    font-size: 22px;
    font-weight: 600;
    color: #333;
    margin-bottom: 1.5rem;
    border-bottom: 1px solid #eee;
    padding-bottom: 0.75rem;
}

.subsection-title {
    font-size: 18px;
    font-weight: 600;
    color: #333;
    margin: 1.5rem 0 1rem;
}

.owner-information-section {
    margin-bottom: 2rem;
}

.owner-question {
    margin-bottom: 1.5rem;
}

.owner-question p {
    font-size: 16px;
    font-weight: 600;
    color: #333;
    margin-bottom: 0.5rem;
}

.description {
    font-size: 14px;
    color: #666;
    margin-bottom: 1rem;
}

/* Owner Options */
.owner-options {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 2rem;
}

.owner-option {
    flex: 1;
    min-width: 200px;
}

.owner-type-input {
    display: none;
}

.option-label {
    display: block;
    padding: 1.5rem 1rem;
    text-align: center;
    border: 2px solid #ddd;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 16px;
    font-weight: 600;
}

.option-label i {
    font-size: 24px;
    margin-right: 8px;
    vertical-align: middle;
}

.option-label:hover {
    border-color: #0056b3;
    background-color: #f8f9fa;
}

.owner-type-input:checked + .option-label {
    border-color: #0056b3;
    background-color: #e6f2ff;
    color: #0056b3;
}

/* Form Styles */
.owner-fields {
    margin-bottom: 2rem;
    padding: 1.5rem;
    background-color: #f9f9f9;
    border-radius: 8px;
}

.form-info-text {
    display: flex;
    align-items: start;
    margin-bottom: 1.5rem;
    background-color: #e6f7ff;
    padding: 1rem;
    border-radius: 6px;
    border-left: 4px solid #0056b3;
}

.form-info-text i {
    color: #0056b3;
    font-size: 18px;
    margin-right: 10px;
    margin-top: 2px;
}

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

.form-row {
    margin-bottom: 1.25rem;
}

.form-group {
    margin-bottom: 0;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-size: 14px;
    font-weight: 600;
    color: #333;
}

.form-group.required label:after {
    content: " *";
    color: #dc3545;
}

.form-control {
    width: 100%;
    padding: 0.75rem;
    font-size: 14px;
    border: 1px solid #ddd;
    border-radius: 5px;
    transition: border-color 0.3s ease;
}

.form-control:focus {
    border-color: #0056b3;
    outline: none;
    box-shadow: 0 0 0 3px rgba(0, 86, 179, 0.1);
}

.form-control.is-invalid {
    border-color: #dc3545;
}

.form-text {
    margin-top: 0.25rem;
    font-size: 12px;
    color: #888;
}

/* Personal Section */
.personal-section {
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid #eee;
}

/* Consent Section */
.consent-section {
    margin: 1.5rem 0;
}

.checkbox-container {
    display: flex;
    align-items: flex-start;
}

.consent-checkbox {
    margin-top: 0.25rem;
    margin-right: 10px;
}

.consent-label {
    font-size: 14px;
    color: #555;
}

/* Navigation Buttons */
.form-navigation {
    display: flex;
    justify-content: space-between;
    margin-top: 2rem;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.5rem;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-previous {
    background-color: #f1f1f1;
    color: #333;
}

.btn-previous:hover {
    background-color: #e0e0e0;
}

.btn-continue {
    background-color: #0056b3;
    color: #fff;
}

.btn-continue:hover {
    background-color: #004394;
}

.btn i {
    font-size: 14px;
}

.btn-previous i {
    margin-right: 8px;
}

.btn-continue i {
    margin-left: 8px;
}

/* Responsive Styles */
@media (max-width: 768px) {
    .owner-option {
        flex: 1 0 100%;
    }
    
    .form-navigation {
        flex-direction: column;
        gap: 1rem;
    }
    
    .btn {
        width: 100%;
    }
}

/* Step 3 - Goods and Services Styles */
.goods-services-section {
    margin-bottom: 40px;
}

.section-intro {
    margin-bottom: 30px;
}

.category-group {
    margin-bottom: 40px;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    overflow: hidden;
}

.category-group-title {
    background-color: #f8fafc;
    border-bottom: 1px solid #e2e8f0;
    padding: 15px 20px;
    margin: 0;
    font-size: 18px;
    font-weight: 600;
    color: #4a5568;
}

.category-items {
    padding: 20px;
}

.category-item {
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    margin-bottom: 15px;
    transition: all 0.2s ease;
}

.category-item:hover {
    border-color: #cbd5e0;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.category-item:last-child {
    margin-bottom: 0;
}

.category-checkbox {
    display: none;
}

.category-label {
    display: block;
    padding: 15px 20px;
    cursor: pointer;
    position: relative;
    padding-left: 50px;
}

.category-label:before {
    content: "";
    position: absolute;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    width: 22px;
    height: 22px;
    border: 2px solid #cbd5e0;
    border-radius: 4px;
    background-color: #fff;
    transition: all 0.2s ease;
}

.category-checkbox:checked + .category-label:before {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

.category-checkbox:checked + .category-label:after {
    content: "";
    position: absolute;
    left: 26px;
    top: 50%;
    transform: translateY(-75%) rotate(45deg);
    width: 6px;
    height: 12px;
    border: solid white;
    border-width: 0 2px 2px 0;
}

.category-number {
    display: inline-block;
    background-color: #f1f5f9;
    border-radius: 4px;
    padding: 3px 8px;
    font-size: 14px;
    font-weight: 600;
    color: #4a5568;
    margin-right: 10px;
}

.category-name {
    font-weight: 600;
    color: #2d3748;
    margin-right: 10px;
}

.category-description {
    color: #718096;
    font-size: 14px;
    display: block;
    margin-top: 5px;
    padding-left: 0;
}

.category-search {
    padding: 20px 20px 0;
}

.all-categories {
    padding: 10px 20px 20px;
    max-height: 400px;
    overflow-y: auto;
    border-top: 1px solid #e2e8f0;
    margin-top: 10px;
}

.selected-categories-section {
    margin: 30px 0;
    padding: 20px;
    background-color: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
}

.selected-categories-section h3 {
    margin-top: 0;
    margin-bottom: 15px;
    font-size: 18px;
    font-weight: 600;
    color: #4a5568;
}

.selected-categories-display {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.no-selection-message {
    color: #718096;
    font-style: italic;
}

.selected-category {
    display: flex;
    align-items: center;
    background-color: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 4px;
    padding: 8px 12px;
}

.selected-category-number {
    font-weight: 600;
    color: #4a5568;
    margin-right: 8px;
}

.selected-category-name {
    color: #2d3748;
}

.remove-category-btn {
    background: none;
    border: none;
    color: #a0aec0;
    cursor: pointer;
    padding: 0;
    margin-left: 15px;
    font-size: 16px;
    transition: color 0.2s ease;
}

.remove-category-btn:hover {
    color: var(--danger-color);
}

/* Responsive adjustments for Goods and Services */
@media (max-width: 768px) {
    .category-label {
        padding-right: 10px;
    }
    
    .category-name, .category-description {
        display: block;
    }
    
    .category-name {
        margin-bottom: 5px;
    }
}

@media (max-width: 576px) {
    .selected-category {
        width: 100%;
    }
} 

.success-message {
    background-color: #FEE2E2;
    border: 1px solid #FCA5A5;
    color: #3bd418;
    padding: 12px;
    border-radius: 4px;
    margin-bottom: 8px;
    font-size: 14px;
}