.taf-admission-form-wrapper {
    padding: 30px 0;
}

.taf-form-header {
    background: var(--theme-color, #0D5EF4);
    color: white;
    padding: 40px 30px;
    border-radius: 10px 10px 0 0;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.taf-school-name {
    font-size: 28px;
    font-weight: bold;
    margin: 15px 0 10px;
    color: white;
}

.taf-school-info {
    font-size: 13px;
    line-height: 1.6;
    margin: 10px 0;
    opacity: 0.95;
    color: white;
}

.taf-form-title {
    background: rgba(255, 255, 255, 0.15);
    padding: 20px;
    border-radius: 8px;
    margin-top: 20px;
}

.taf-form-title h3 {
    font-size: 18px;
    margin: 0 0 8px;
    color: white;
}

.taf-form-title h4 {
    font-size: 16px;
    margin: 0;
    color: white;
    font-weight: 600;
}

.taf-form {
    background: white;
    padding: 40px;
    border-radius: 0 0 10px 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.taf-section {
    margin-bottom: 35px;
    padding-bottom: 30px;
    border-bottom: 2px solid #f0f0f0;
}

.taf-section:last-of-type {
    border-bottom: none;
}

.taf-section-title {
    background: var(--theme-color, #0D5EF4);
    color: white;
    padding: 12px 20px;
    border-radius: 6px;
    margin-bottom: 25px;
    font-size: 16px;
    font-weight: 600;
    border-left: 5px solid var(--title-color, #0F2239);
}

.taf-form .form-label {
    font-weight: 600;
    color: #333;
    margin-bottom: 8px;
    font-size: 14px;
}

.taf-form .form-control {
    border: 2px solid #e0e0e0;
    border-radius: 6px;
    padding: 12px 15px;
    font-size: 15px;
    transition: all 0.3s ease;
}

.taf-form .form-control:focus {
    border-color: var(--theme-color, #0D5EF4);
    box-shadow: 0 0 0 0.2rem rgba(13, 94, 244, 0.15);
    outline: none;
}

.taf-form .text-danger {
    color: #dc3545;
}

.taf-notes {
    background: var(--smoke-color, #F3F7FB);
    padding: 20px;
    border-radius: 8px;
    border-left: 5px solid var(--yellow-color, #FFB539);
}

.taf-notes ul {
    margin: 10px 0 0 20px;
    padding: 0;
}

.taf-notes li {
    margin-bottom: 10px;
    line-height: 1.6;
    color: #666;
}

.taf-submit-btn {
    background: var(--theme-color, #0D5EF4);
    border: none;
    padding: 15px 50px;
    font-size: 16px;
    font-weight: 600;
    border-radius: 8px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px rgba(13, 94, 244, 0.3);
}

.taf-submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(13, 94, 244, 0.4);
    background: var(--title-color, #0F2239);
}

.taf-submit-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

.taf-btn-loading {
    display: inline-flex;
    align-items: center;
}

.taf-form-message {
    padding: 15px 20px;
    border-radius: 6px;
    margin-top: 20px;
    display: none;
}

.taf-form-message.success {
    background: #d4edda;
    border: 1px solid #c3e6cb;
    color: var(--success-color, #28a745);
    display: block;
}

.taf-form-message.error {
    background: #f8d7da;
    border: 1px solid #f5c6cb;
    color: var(--error-color, #dc3545);
    display: block;
}

.taf-success-wrapper {
    padding: 10px 0;
}

.taf-ok-btn {
    background: var(--theme-color, #0D5EF4);
    color: white;
    border: none;
    padding: 12px 40px;
    border-radius: 6px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    min-width: 120px;
}

.taf-ok-btn:hover {
    background: var(--title-color, #0F2239);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(13, 94, 244, 0.3);
}

/* jQuery UI Datepicker Customization */
.ui-datepicker {
    background: white;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 0;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    z-index: 9999 !important;
    font-family: inherit;
    width: auto !important;
}

.ui-datepicker-header {
    background: var(--theme-color, #0D5EF4);
    color: white;
    border-radius: 8px 8px 0 0;
    padding: 12px 10px;
    margin: 0;
    position: relative;
    border: none;
}

.ui-datepicker-title {
    color: white;
    font-weight: 600;
    text-align: center;
    line-height: 1.8;
}

.ui-datepicker-title select {
    background: white;
    border: 1px solid rgba(255,255,255,0.3);
    border-radius: 4px;
    padding: 4px 8px;
    margin: 0 3px;
    font-size: 13px;
    color: var(--title-color, #0F2239);
}

.ui-datepicker-prev,
.ui-datepicker-next {
    cursor: pointer;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 30px;
    height: 30px;
    border-radius: 4px;
    background: rgba(255,255,255,0.2);
}

.ui-datepicker-prev:hover,
.ui-datepicker-next:hover {
    background: rgba(255,255,255,0.3);
}

.ui-datepicker-prev {
    left: 8px;
}

.ui-datepicker-next {
    right: 8px;
}

.ui-datepicker-prev span,
.ui-datepicker-next span {
    display: block;
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
}

.ui-datepicker-calendar {
    margin: 10px;
}

.ui-datepicker th {
    color: var(--title-color, #0F2239);
    font-weight: 600;
    padding: 8px 5px;
    font-size: 12px;
    text-transform: uppercase;
}

.ui-datepicker td {
    padding: 1px;
}

.ui-datepicker td a,
.ui-datepicker td span {
    text-align: center;
    padding: 8px;
    border-radius: 6px;
    transition: all 0.2s ease;
    display: block;
    text-decoration: none;
    color: var(--body-color, #4D5765);
    border: 1px solid transparent;
}

.ui-datepicker td a:hover {
    background: var(--smoke-color, #F3F7FB);
    border-color: var(--theme-color, #0D5EF4);
    color: var(--theme-color, #0D5EF4);
}

.ui-datepicker td .ui-state-active {
    background: var(--theme-color, #0D5EF4);
    color: white !important;
    border-color: var(--theme-color, #0D5EF4);
}

.ui-datepicker td .ui-state-highlight {
    background: var(--yellow-color, #FFB539);
    color: white;
}

.ui-datepicker td .ui-state-disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

.ui-datepicker-buttonpane {
    margin: 0;
    padding: 10px;
    border-top: 1px solid #e0e0e0;
    background: var(--smoke-color, #F3F7FB);
    border-radius: 0 0 8px 8px;
}

.ui-datepicker-buttonpane button {
    background: var(--theme-color, #0D5EF4);
    color: white;
    border: none;
    padding: 8px 16px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 13px;
    transition: all 0.2s ease;
}

.ui-datepicker-buttonpane button:hover {
    background: var(--title-color, #0F2239);
}

.taf-datepicker {
    cursor: pointer;
    background-color: white;
}

.taf-interview-info {
    background: var(--smoke-color, #F3F7FB);
    border-left: 4px solid var(--theme-color, #0D5EF4);
    padding: 15px 20px;
    border-radius: 6px;
    margin-top: 10px;
}

.taf-interview-info p {
    margin: 8px 0;
    color: var(--body-color, #4D5765);
    line-height: 1.6;
}

.taf-interview-info p:first-child {
    margin-top: 0;
}

.taf-interview-info p:last-child {
    margin-bottom: 0;
}

.taf-interview-info strong {
    color: var(--title-color, #0F2239);
}

.taf-payment-info {
    background: #fff9e6;
    border: 2px solid var(--yellow-color, #FFB539);
    border-radius: 8px;
    padding: 15px;
}

.taf-payment-info h6 {
    color: var(--title-color, #0F2239);
    font-size: 14px;
    margin-bottom: 10px;
}

.taf-payment-info p {
    margin-bottom: 8px;
    line-height: 1.4;
    color: var(--body-color, #4D5765);
    font-size: 13px;
}

.taf-bank-details {
    background: white;
    padding: 10px 12px;
    border-radius: 6px;
    border-left: 3px solid var(--theme-color, #0D5EF4);
    margin: 10px 0;
    font-size: 13px;
}

.taf-bank-details .row {
    margin: 0;
}

.taf-bank-details .col-md-4 {
    padding: 5px;
}

.taf-bank-details strong {
    color: var(--title-color, #0F2239);
    font-size: 12px;
}

.taf-amount-highlight {
    background: white;
    padding: 10px 15px;
    border-radius: 6px;
    border: 2px solid var(--theme-color, #0D5EF4);
    text-align: center;
    margin: 10px 0;
}

.taf-amount {
    font-size: 20px;
    font-weight: bold;
    color: var(--theme-color, #0D5EF4);
    margin-left: 8px;
}

.taf-payment-note {
    margin-top: 10px;
    font-size: 12px;
}

@media (max-width: 768px) {
    .taf-form {
        padding: 25px 20px;
    }
    
    .taf-form-header {
        padding: 30px 20px;
    }
    
    .taf-school-name {
        font-size: 22px;
    }
    
    .taf-school-info {
        font-size: 12px;
    }
    
    .taf-submit-btn {
        width: 100%;
        padding: 15px 30px;
    }
}


.ui-datepicker .ui-datepicker-title {
    display: flex;
    gap: 10px;
}

.ui-datepicker .ui-datepicker-prev, .ui-datepicker .ui-datepicker-next{
    top: 18px !important;
}

.ui-datepicker-title select
{
    height: 32px !important;
}

.ui-datepicker .ui-datepicker-prev span, .ui-datepicker .ui-datepicker-next span {
    left: 75% !important;
    top: 75% !important;
}