* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background: #ebebeb;
    font-family: 'Inter', 'Cairo', sans-serif;
    min-height: 100vh;
    padding: 40px 20px;
}

/* Professional Header Bar */
.header-bar {
    background: linear-gradient(135deg, #003c43 0%, #00636e 100%);
    height: 6px;
    width: 100%;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1000;
}

/* Container */
.form-wrapper {
    max-width: 1000px;
    margin: 20px auto;
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05),
        0 10px 40px rgba(0, 0, 0, 0.08);
    overflow: hidden;
}

/* Header Section */
.form-header {
    background: linear-gradient(135deg, #00636e 0%, #003c43 100%);
    padding: 10px 20px;
    color: white;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.form-header .logo img {
    width: 60px;
    border-radius: 50%;
}

.form-title {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 8px;
    letter-spacing: -0.5px;
    font-family: 'Inter', sans-serif;
}

.form-subtitle {
    font-size: 18px;
    font-weight: 600;
    color: #94a3b8;
    font-family: 'Cairo', sans-serif;
    direction: rtl;
}

/* Form Content */
.form-content {
    padding: 25px 40px 40px;
}

/* Grid */
.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

/* Full width */
.full {
    grid-column: span 2;
}

/* Field Group */
.field-group {
    position: relative;
}

/* Labels */
.label {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.label span.en {
    color: #334155;
    font-family: 'Inter', sans-serif;
}

.label span.ar {
    direction: rtl;
    color: #64748b;
    font-family: 'Cairo', sans-serif;
    text-transform: none;
    font-size: 14px;
}

/* Required indicator */
.required {
    color: #dc2626;
    margin-left: 3px;
    font-size: 14px;
}

/* Inputs */
.input,
.select,
.textarea {
    width: 100%;
    padding: 13px 16px;
    border-radius: 8px;
    border: 1.5px solid #b3b3b3;
    background: #ffffff;
    font-family: 'Inter', 'Cairo', sans-serif;
    font-size: 15px;
    color: #0f172a;
    transition: all 0.2s ease;
}

.input:hover,
.select:hover,
.textarea:hover {
    border-color: #cbd5e1;
}

.input:focus,
.select:focus,
.textarea:focus {
    border-color: #00636e;
    background: #ffffff;
    outline: none;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

/* Select styling */
.select {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg width='14' height='8' viewBox='0 0 14 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1L7 7L13 1' stroke='%23475569' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    padding-right: 45px;
}

/* Textarea */
.textarea {
    min-height: 130px;
    resize: vertical;
    font-size: 15px;
    line-height: 1.7;
}

/* Input Helper Text */
.helper-text {
    font-size: 12px;
    color: #64748b;
    margin-top: 6px;
    display: none;
}

.field-group:focus-within .helper-text {
    display: block;
}

/* Button Container */
.button-container {
    margin-top: 40px;
    padding-top: 30px;
    border-top: 1px solid #e2e8f0;
}

/* Button */
.submit-btn {
    width: 100%;
    padding: 16px;
    border: none;
    border-radius: 8px;
    background: linear-gradient(135deg, #00636e 0%, #00636e 100%);
    color: white;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s ease;
    letter-spacing: 1px;
    text-transform: uppercase;
    font-family: 'Inter', sans-serif;
    box-shadow: 0 4px 12px rgba(15, 23, 42, 0.2);
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(15, 23, 42, 0.3);
    background: linear-gradient(180deg, #00636e 0%, #00636e 100%);
}

.submit-btn:active {
    transform: translateY(0);
}

/* Placeholder styling */
::placeholder {
    color: #94a3b8;
    opacity: 1;
}

/* Professional badge/tag style */
.field-badge {
    display: inline-block;
    background: #eff6ff;
    color: #1e40af;
    font-size: 10px;
    font-weight: 600;
    padding: 3px 8px;
    border-radius: 4px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-left: 8px;
}

/* Divider */
.section-divider {
    grid-column: span 2;
    height: 1px;
    background: linear-gradient(90deg, transparent, #b3b3b3, transparent);
    margin: 0px 0;
}

/* Section Heading */
.section-heading {
    grid-column: span 2;
    font-size: 16px;
    font-weight: 700;
    color: #0f172a;
    margin-top: 10px;
    margin-bottom: -10px;
    padding-bottom: 10px;
    border-bottom: 2px solid #e2e8f0;
    font-family: 'Inter', sans-serif;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.swal2-html-container ul {
    font-size: 14px;
    padding: 0px 39px;
    line-height: 25px;
}

/* Responsive */
@media(max-width: 768px) {
    .form-content {
        padding: 30px 25px;
    }

    .form-header {
        padding: 10px 15px;
    }

    .form-title {
        font-size: 20px;
    }

    .form-subtitle {
        font-size: 16px;
    }
    .form-header .logo img {
        width: 40px;
        border-radius: 50%;
    }
    .form-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .full,
    .section-divider,
    .section-heading {
        grid-column: span 1;
    }
}

/* Animation on load */
@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.form-wrapper {
    animation: slideIn 0.4s ease-out;
}

/* Accessibility */
*:focus-visible {
    outline: 2px solid #333;
    outline-offset: 2px;
}

/* Professional footer note */
.form-footer {
    padding: 25px 50px;
    background: #f8fafc;
    border-top: 1px solid #e2e8f0;
    text-align: center;
}

.footer-text {
    font-size: 12px;
    color: #64748b;
    line-height: 1.6;
}