.corporate-register-container {
    min-height: 100vh;
    background: linear-gradient(135deg, #fef2f2 0%, #fee2e2 100%);
    padding: 2rem 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.corporate-register-box {
    width: 100%;
    max-width: 900px;
    margin: 0 auto;
}

.corporate-logo {
    text-align: center;
    margin-bottom: 2rem;
}

.corporate-logo-img {
    max-width: 250px;
    height: auto;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.1));
}

.corporate-card {
    background: white;
    border-radius: 16px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    padding: 2.5rem;
    animation: fadeInUp 0.5s ease-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.corporate-header {
    text-align: center;
    margin-bottom: 2rem;
}

.corporate-title {
    font-size: 2rem;
    font-weight: 700;
    color: #1a202c;
    margin-bottom: 0.5rem;
}

.corporate-subtitle {
    font-size: 1rem;
    color: #6b7280;
}

.corporate-form {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.form-section {
    padding: 1.5rem;
    background: #f9fafb;
    border-radius: 12px;
    border: 1px solid #e5e7eb;
}

.section-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: #dc2626;
    margin-bottom: 1.5rem;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid #fee2e2;
}

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

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

.form-label {
    display: block;
    font-weight: 600;
    color: #374151;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}

.required {
    color: #dc2626;
}

.form-input {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: white;
}

.form-input:focus {
    outline: none;
    border-color: #dc2626;
    box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.1);
}

.form-input:disabled {
    background: #f3f4f6;
    cursor: not-allowed;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.form-help {
    display: block;
    font-size: 0.85rem;
    color: #6b7280;
    margin-top: 0.5rem;
}

.contract-info-message {
    background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
    border: 1px solid #f59e0b;
    border-radius: 8px;
    padding: 0.875rem 1rem;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: #92400e;
    font-size: 0.9rem;
    line-height: 1.5;
}

.contract-info-message i {
    font-size: 1.1rem;
    color: #f59e0b;
    flex-shrink: 0;
}

.contract-info-message span {
    flex: 1;
}

.file-preview {
    margin-top: 1rem;
    padding: 1rem;
    background: white;
    border: 2px dashed #e5e7eb;
    border-radius: 8px;
    text-align: center;
}

.file-preview img {
    max-width: 200px;
    max-height: 200px;
    border-radius: 8px;
}

.checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    cursor: pointer;
    font-size: 0.95rem;
    color: #374151;
}

.checkbox-label input[type="checkbox"] {
    width: 20px;
    height: 20px;
    margin-top: 2px;
    cursor: pointer;
    accent-color: #dc2626;
}

.form-actions {
    margin-top: 1rem;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.875rem 2rem;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
}

.btn-primary {
    background: linear-gradient(135deg, #dc2626 0%, #b91c1c 100%);
    color: white;
    box-shadow: 0 4px 15px rgba(220, 38, 38, 0.3);
    width: 100%;
    justify-content: center;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(220, 38, 38, 0.4);
}

.btn-primary:active {
    transform: translateY(0);
}

.btn-sm {
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
    border-radius: 6px;
    width: auto;
    min-width: auto;
}

.contract-sample-header .btn-sm {
    background: linear-gradient(135deg, #dc2626 0%, #b91c1c 100%);
    color: white;
    border: none;
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
    font-weight: 600;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    box-shadow: 0 2px 8px rgba(220, 38, 38, 0.25);
    white-space: nowrap;
}

.contract-sample-header .btn-sm:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(220, 38, 38, 0.35);
    background: linear-gradient(135deg, #b91c1c 0%, #991b1b 100%);
}

.contract-sample-header .btn-sm:active {
    transform: translateY(0);
}

.contract-sample-header .btn-sm i {
    font-size: 0.875rem;
}

.corporate-footer {
    margin-top: 2rem;
    text-align: center;
    padding-top: 1.5rem;
    border-top: 1px solid #e5e7eb;
}

.corporate-footer-text {
    color: #6b7280;
    font-size: 0.9rem;
}

.corporate-footer-link {
    color: #dc2626;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.corporate-footer-link:hover {
    color: #b91c1c;
    text-decoration: underline;
}

.contract-sample-container {
    margin-top: 0.5rem;
}

.contract-sample-display {
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    padding: 1.5rem;
    background: #f9fafb;
}

.contract-sample-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #e5e7eb;
    flex-wrap: wrap;
    gap: 1rem;
}

.contract-sample-header h4 {
    font-size: 1.125rem;
    font-weight: 600;
    color: #1a202c;
    margin: 0;
}

.contract-sample-content {
    max-height: 400px;
    overflow-y: auto;
    padding: 1rem;
    background: white;
    border-radius: 6px;
    line-height: 1.6;
}

.contract-sample-pdf-viewer {
    margin-top: 1rem;
    width: 100%;
}

.contract-sample-pdf-viewer iframe {
    width: 100%;
    min-height: 600px;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    background: white;
}

.contract-sample-content p {
    margin-bottom: 1rem;
}

.contract-sample-empty,
.contract-sample-error {
    text-align: center;
    padding: 2rem;
    color: #6b7280;
}

.contract-sample-empty i,
.contract-sample-error i {
    font-size: 2rem;
    margin-bottom: 0.5rem;
    display: block;
    color: #d1d5db;
}

.loading-state {
    text-align: center;
    padding: 2rem;
    color: #6b7280;
}

.loading-state i {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    display: block;
}

@media (max-width: 768px) {
    .corporate-card {
        padding: 1.5rem;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .corporate-title {
        font-size: 1.5rem;
    }

    .contract-sample-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .contract-sample-header h4 {
        width: 100%;
    }

    .contract-sample-header .btn-sm {
        width: 100%;
        justify-content: center;
    }
}

