body {
    font-family: 'Cairo', 'Tajawal', Arial, sans-serif;
    font-weight: 900;
    background: #0a3d3f;
    margin: 0;
    padding: 0;
    color: #222;
    overflow-x: hidden;
    min-height: 100vh;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body, body * {
    font-weight: 900 !important;
}

html body,
html body :not(i),
.form-group label,
.form-group input,
.form-group select,
.form-group textarea,
.submit-btn,
.message,
.info-note p,
.section-title,
.header h1,
.subtitle,
::placeholder {
    font-weight: 900 !important;
}

::placeholder {
    opacity: 1;
}

/* Keep Font Awesome icons on their icon font instead of the Arabic text font. */
.fa,
.fas,
.far,
.fal,
.fab,
.fa-solid,
.fa-regular,
.fa-brands,
[class^="fa-"],
[class*=" fa-"] {
    font-family: var(--fa-style-family, "Font Awesome 6 Free") !important;
    font-weight: var(--fa-style, 900) !important;
}

option {
    font-weight: 900 !important;
}

input, select, textarea, button {
    font-weight: 900 !important;
}

input::placeholder, textarea::placeholder {
    font-weight: 900 !important;
    opacity: 1;
}

/* Force bold on dynamically loaded top-bar and bottom-bar */
#top-bar-placeholder, #top-bar-placeholder *,
#bottom-bar-placeholder, #bottom-bar-placeholder *,
.top-bar, .top-bar *,
.umrah-navigation, .umrah-navigation *,
.floating-side-buttons, .floating-side-buttons * {
    font-weight: 700 !important;
}

.container {
    width: 100%;
    max-width: 100vw;
    margin: 80px auto 20px;
    background: #c9f1f6;
    border-radius: 20px;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.08);
    padding: 30px 15px;
    min-height: calc(100vh - 100px);
    display: flex;
    justify-content: center;
    align-items: flex-start;
}

.form-wrapper {
    width: 100%;
    max-width: 650px;
    background: #fff;
    border-radius: 20px;
    padding: 35px 25px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12);
    margin: 0 auto;
}

.header {
    text-align: center;
    margin-bottom: 35px;
    padding-bottom: 20px;
    border-bottom: 3px solid #e0e0e0;
}

.header-icon {
    font-size: 3.5em;
    color: #1de9b6;
    margin-bottom: 15px;
    display: block;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.05);
    }
}

.header h1 {
    font-size: 2.2em;
    color: #0a3d3f;
    margin: 10px 0;
    font-weight: 900;
    line-height: 1.3;
}

.subtitle {
    font-size: 1.15em;
    color: #666;
    margin: 10px 0 0;
    font-weight: 900 !important;
    line-height: 1.5;
}

.section-title {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1.3em;
    color: #0a3d3f;
    font-weight: 900;
    margin: 30px 0 20px;
    padding: 12px 15px;
    background: linear-gradient(135deg, #e0f7fa 0%, #b2ebf2 100%);
    border-radius: 12px;
    border-left: 4px solid #1de9b6;
}

.section-title:first-of-type {
    margin-top: 0;
}

.section-title i {
    color: #1de9b6;
    font-size: 1.2em;
}

.suggest-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.form-group label {
    font-size: 1.05em;
    color: #0a3d3f;
    font-weight: 900;
    display: flex;
    align-items: center;
    gap: 8px;
    letter-spacing: 0.01em;
}

.form-group label i {
    color: #1de9b6;
    font-size: 1.1em;
    min-width: 20px;
}

.required {
    color: #e53935;
    font-weight: 900;
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 14px 16px;
    font-size: 1.05em;
    border: 2px solid #e0e0e0;
    border-radius: 12px;
    background: #f8f8f8;
    font-family: inherit;
    font-weight: 800 !important;
    transition: all 0.3s ease;
    outline: none;
    width: 100%;
    box-sizing: border-box;
}

.form-group input:focus,
.form-group select:focus {
    border-color: #1de9b6;
    background: #fff;
    box-shadow: 0 0 0 4px rgba(29, 233, 182, 0.15);
    transform: translateY(-1px);
}

.form-group input:hover,
.form-group select:hover {
    border-color: #b2ebf2;
}

.form-group select {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230a3d3f' 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: left 12px center;
    background-size: 22px;
    padding-left: 45px;
}

.message-container {
    min-height: 0;
    transition: all 0.3s;
    margin: 10px 0;
}

.message {
    padding: 16px 20px;
    border-radius: 12px;
    font-size: 1.05em;
    display: flex;
    align-items: center;
    gap: 12px;
    animation: slideIn 0.4s ease-out;
    line-height: 1.5;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(-15px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.message.success {
    background: linear-gradient(135deg, #c8e6c9 0%, #a5d6a7 100%);
    color: #1b5e20;
    border: 2px solid #4caf50;
}

.message.error {
    background: linear-gradient(135deg, #ffcdd2 0%, #ef9a9a 100%);
    color: #c62828;
    border: 2px solid #e53935;
}

.message i {
    font-size: 1.4em;
    flex-shrink: 0;
}

.submit-btn {
    background: linear-gradient(90deg, #1de9b6 0%, #0a3d3f 100%);
    color: #fff;
    border: none;
    border-radius: 15px;
    padding: 16px 35px;
    font-size: 1.25em;
    font-family: inherit;
    font-weight: 900;
    cursor: pointer;
    letter-spacing: 0.01em;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(29, 233, 182, 0.35);
    margin-top: 15px;
    width: 100%;
}

.submit-btn:hover:not(:disabled) {
    background: linear-gradient(90deg, #0a3d3f 0%, #1de9b6 100%);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(29, 233, 182, 0.45);
}

.submit-btn:active:not(:disabled) {
    transform: translateY(-1px);
}

.submit-btn:disabled {
    background: linear-gradient(90deg, #ccc 0%, #999 100%);
    cursor: not-allowed;
    box-shadow: none;
    transform: none;
    opacity: 0.7;
}

.submit-btn i {
    font-size: 1.15em;
}

.info-note {
    background: linear-gradient(135deg, #fff9c4 0%, #fff59d 100%);
    border: 2px solid #fbc02d;
    border-radius: 12px;
    padding: 16px 20px;
    display: flex;
    align-items: flex-start;
    gap: 14px;
    margin-top: 20px;
    line-height: 1.6;
}

.info-note i {
    color: #f57f17;
    font-size: 1.4em;
    margin-top: 2px;
    flex-shrink: 0;
}

.info-note p {
    margin: 0;
    color: #f57f17;
    font-size: 1em;
    line-height: 1.6;
    font-weight: normal !important;
}

/* Responsive Design - Tablet */
@media (max-width: 768px) {
    .container {
        padding: 25px 12px;
        margin-top: 75px;
        border-radius: 15px;
    }

    .form-wrapper {
        padding: 30px 20px;
        border-radius: 15px;
    }

    .header {
        margin-bottom: 30px;
        padding-bottom: 15px;
    }

    .header h1 {
        font-size: 1.9em;
    }

    .subtitle {
        font-size: 1.05em;
    }

    .header-icon {
        font-size: 3em;
    }

    .section-title {
        font-size: 1.2em;
        padding: 10px 12px;
        margin: 25px 0 18px;
    }

    .form-group label {
        font-size: 1em;
    }

    .form-group input,
    .form-group select {
        font-size: 1em;
        padding: 12px 14px;
    }

    .form-group select {
        padding-left: 40px;
        background-size: 20px;
    }

    .submit-btn {
        font-size: 1.15em;
        padding: 14px 30px;
    }

    .info-note {
        padding: 14px 16px;
    }

    .info-note p {
        font-size: 0.95em;
    }
}

/* Responsive Design - Mobile */
@media (max-width: 480px) {
    .container {
        padding: 15px 8px;
        margin-top: 70px;
        border-radius: 12px;
        min-height: calc(100vh - 90px);
    }

    .form-wrapper {
        padding: 25px 18px;
        border-radius: 12px;
        box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
    }

    .header {
        margin-bottom: 25px;
        padding-bottom: 12px;
    }

    .header h1 {
        font-size: 1.6em;
        line-height: 1.2;
    }

    .subtitle {
        font-size: 0.95em;
    }

    .header-icon {
        font-size: 2.5em;
        margin-bottom: 10px;
    }

    .section-title {
        font-size: 1.1em;
        padding: 10px 12px;
        margin: 20px 0 15px;
        gap: 10px;
    }

    .section-title i {
        font-size: 1.1em;
    }

    .suggest-form {
        gap: 16px;
    }

    .form-group {
        gap: 8px;
    }

    .form-group label {
        font-size: 0.95em;
    }

    .form-group input,
    .form-group select {
        font-size: 0.95em;
        padding: 11px 13px;
    }

    .form-group select {
        padding-left: 38px;
        background-size: 18px;
        background-position: left 10px center;
    }

    .submit-btn {
        font-size: 1.1em;
        padding: 13px 25px;
        gap: 10px;
    }

    .submit-btn i {
        font-size: 1.1em;
    }

    .info-note {
        padding: 12px 14px;
        gap: 10px;
    }

    .info-note i {
        font-size: 1.2em;
    }

    .info-note p {
        font-size: 0.9em;
        line-height: 1.5;
    }

    .message {
        padding: 14px 16px;
        font-size: 0.95em;
        gap: 10px;
    }

    .message i {
        font-size: 1.2em;
    }
}

/* Extra Small Devices */
@media (max-width: 360px) {
    .container {
        padding: 12px 6px;
        margin-top: 65px;
    }

    .form-wrapper {
        padding: 20px 15px;
    }

    .header h1 {
        font-size: 1.4em;
    }

    .subtitle {
        font-size: 0.9em;
    }

    .section-title {
        font-size: 1em;
        padding: 8px 10px;
    }

    .form-group label {
        font-size: 0.9em;
    }

    .form-group input,
    .form-group select {
        font-size: 0.9em;
        padding: 10px 12px;
    }

    .submit-btn {
        font-size: 1em;
        padding: 12px 20px;
    }
}

/* Large Desktop */
@media (min-width: 1200px) {
    .container {
        padding: 40px 20px;
    }

    .form-wrapper {
        max-width: 700px;
        padding: 45px 40px;
    }

    .header h1 {
        font-size: 2.4em;
    }

    .subtitle {
        font-size: 1.2em;
    }

    .section-title {
        font-size: 1.35em;
        padding: 14px 18px;
    }
}

/* ===================================================================
   Toast Notification — إشعار منبثق حديث
   =================================================================== */
#toast-container {
    position: fixed;
    top: 24px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 99999;
    width: 100%;
    max-width: 480px;
    padding: 0 16px;
    box-sizing: border-box;
    pointer-events: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.toast {
    pointer-events: auto;
    background: linear-gradient(145deg, #ffffff 0%, #f0fdf4 100%);
    border-radius: 16px;
    padding: 0;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15), 0 4px 12px rgba(0, 0, 0, 0.08);
    animation: toastSlideIn 0.5s cubic-bezier(0.22, 1, 0.36, 1) forwards;
    direction: rtl;
    overflow: hidden;
    border: 1.5px solid rgba(76, 175, 80, 0.2);
    position: relative;
}

.toast.closing {
    animation: toastSlideOut 0.4s cubic-bezier(0.55, 0, 1, 0.45) forwards;
}

@keyframes toastSlideIn {
    from {
        opacity: 0;
        transform: translateY(-30px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@keyframes toastSlideOut {
    from {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
    to {
        opacity: 0;
        transform: translateY(-30px) scale(0.95);
    }
}

.toast-inner {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 20px 18px 20px 50px;
    position: relative;
}

.toast-icon {
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3em;
    margin-top: 2px;
}

.toast-success .toast-icon {
    background: linear-gradient(135deg, #4caf50, #2e7d32);
    color: #fff;
    box-shadow: 0 4px 12px rgba(76, 175, 80, 0.35);
}

.toast-error .toast-icon {
    background: linear-gradient(135deg, #ef5350, #c62828);
    color: #fff;
    box-shadow: 0 4px 12px rgba(239, 83, 80, 0.35);
}

.toast-body {
    flex: 1;
    min-width: 0;
}

.toast-title {
    font-size: 1.05em;
    font-weight: 700;
    color: #1b5e20;
    margin-bottom: 6px;
    line-height: 1.4;
}

.toast-success .toast-title {
    color: #1b5e20;
}

.toast-error .toast-title {
    color: #b71c1c;
}

.toast-message {
    font-size: 0.98em;
    color: #444;
    line-height: 1.7;
    font-weight: 500 !important;
}

.toast-message .highlight-phone {
    display: inline-block;
    background: linear-gradient(135deg, #e8f5e9, #c8e6c9);
    color: #1b5e20;
    font-weight: 700;
    padding: 3px 14px;
    border-radius: 8px;
    margin-top: 6px;
    font-size: 1.1em;
    letter-spacing: 0.5px;
    direction: ltr;
    unicode-bidi: embed;
}

.toast-message .highlight-phone i {
    margin-left: 6px;
    color: #2e7d32;
}

/* زر الإغلاق (X) */
.toast-close {
    position: absolute;
    left: 10px;
    top: 10px;
    width: 32px;
    height: 32px;
    border: none;
    background: rgba(0, 0, 0, 0.05);
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.1em;
    color: #888;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    padding: 0;
    line-height: 1;
}

.toast-close:hover {
    background: rgba(0, 0, 0, 0.12);
    color: #333;
    transform: rotate(90deg);
}

.toast-close:active {
    transform: rotate(90deg) scale(0.9);
}

/* شريط التقدم (auto-dismiss) */
.toast-progress {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: rgba(0, 0, 0, 0.06);
    overflow: hidden;
}

.toast-progress-bar {
    height: 100%;
    width: 100%;
    background: linear-gradient(90deg, #4caf50, #81c784);
    animation: toastProgress 8s linear forwards;
    transform-origin: right center;
}

.toast-error .toast-progress-bar {
    background: linear-gradient(90deg, #ef5350, #e57373);
}

@keyframes toastProgress {
    from {
        transform: scaleX(1);
    }
    to {
        transform: scaleX(0);
    }
}

/* Responsive: Toast */
@media (max-width: 520px) {
    #toast-container {
        top: 12px;
        padding: 0 10px;
    }

    .toast-inner {
        padding: 16px 14px 16px 44px;
        gap: 12px;
    }

    .toast-icon {
        width: 36px;
        height: 36px;
        font-size: 1.1em;
    }

    .toast-title {
        font-size: 0.98em;
    }

    .toast-message {
        font-size: 0.92em;
        line-height: 1.6;
    }

    .toast-message .highlight-phone {
        font-size: 1em;
        padding: 2px 10px;
    }

    .toast-close {
        width: 28px;
        height: 28px;
        font-size: 1em;
        left: 6px;
        top: 6px;
    }
}

@media (max-width: 380px) {
    #toast-container {
        top: 8px;
        padding: 0 6px;
    }

    .toast-inner {
        padding: 14px 12px 14px 38px;
        gap: 10px;
    }

    .toast-icon {
        width: 32px;
        height: 32px;
        font-size: 1em;
    }

    .toast-title {
        font-size: 0.93em;
    }

    .toast-message {
        font-size: 0.88em;
    }

    .toast-message .highlight-phone {
        font-size: 0.95em;
    }
}