/* --- VISA APPLY PAGE STYLES --- */

.apply-layout {
    display: flex;
    gap: 40px;
    align-items: flex-start;
}

.apply-main {
    flex: 1;
    background: var(--white);
    border-radius: 16px;
    padding: 40px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.03);
    border: 1px solid var(--gray-100);
}

.apply-sidebar {
    width: 350px;
    position: sticky;
    top: 100px;
}

.apply-main-title {
    font-size: 28px;
    font-weight: 800;
    color: var(--dark);
    margin-bottom: 10px;
}

.apply-main-subtitle {
    color: var(--gray-400);
    margin-bottom: 30px;
    font-size: 15px;
}

/* Form Styling */
.apply-form .form-row {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
}

.apply-form .form-group {
    flex: 1;
    margin-bottom: 0;
}

.apply-form label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: var(--dark);
    margin-bottom: 8px;
}

.apply-form .input-with-icon {
    position: relative;
}

.apply-form .input-with-icon i {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--gray-400);
}

.apply-form .input-with-icon input,
.apply-form .input-with-icon select,
.apply-form textarea {
    width: 100%;
    padding: 15px 15px 15px 45px;
    border: 1px solid var(--gray-100);
    border-radius: 10px;
    font-size: 14px;
    font-family: inherit;
    outline: none;
    transition: var(--transition);
    background: var(--white);
}

.apply-form textarea {
    padding: 15px;
    min-height: 120px;
    resize: vertical;
}

.apply-form .input-with-icon select {
    appearance: none;
    -webkit-appearance: none;
    cursor: pointer;
    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='%2364748b' 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;
    padding-right: 40px;
}

.apply-form .input-with-icon input:focus,
.apply-form .input-with-icon select:focus,
.apply-form textarea:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(0, 34, 102, 0.05);
}

.form-section-title {
    font-size: 18px;
    font-weight: 700;
    color: var(--dark);
    margin: 30px 0 20px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--gray-100);
}

/* Sidebar Widgets */
.sidebar-widget {
    background: var(--white);
    border-radius: 16px;
    padding: 30px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.03);
    border: 1px solid var(--gray-100);
    margin-bottom: 30px;
}

.sidebar-widget h3 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--dark);
}

.doc-list {
    list-style: none;
}

.doc-list li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 15px;
    font-size: 14px;
    color: var(--gray-400);
    line-height: 1.5;
}

.doc-list li i {
    color: var(--secondary);
    margin-top: 3px;
    font-size: 16px;
}

.support-widget {
    background: var(--primary);
    color: var(--white);
    text-align: center;
}

.support-widget h3 {
    color: var(--white);
}

.support-widget p {
    color: rgba(255,255,255,0.8);
    font-size: 14px;
    margin-bottom: 20px;
}

.support-icon {
    font-size: 40px;
    color: var(--secondary);
    margin-bottom: 15px;
}

/* Responsive */
@media (max-width: 992px) {
    .apply-layout {
        flex-direction: column;
        width: 100%;
    }
    .apply-main {
        width: 100%;
        min-width: 0;
        padding: 30px;
    }
    .apply-sidebar {
        width: 100%;
        position: static;
        margin-top: 20px;
    }
}

@media (max-width: 768px) {
    .apply-form .form-row {
        flex-direction: column;
        gap: 0;
    }
    .apply-form .form-group {
        margin-bottom: 20px;
    }
    .apply-main {
        padding: 25px 20px;
    }
}
