.callback {
    display: flex;
    height: 75vh;
    max-width: 80%;
    margin: 0 auto;
    padding: 20px;
    margin-bottom: 3%;
}

.form-tabs {
    display: flex;
    border-bottom: 1px solid #ddd;
    margin-bottom: 20px;
}

.tab-btn {
    padding: 12px 24px;
    background: none;
    border: none;
    border-bottom: 3px solid transparent;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.tab-btn.active {
    border-bottom-color: #4361ee;
    color: #4361ee;
    font-weight: bold;
}

.form-content {
    display: none;
    padding: 20px;
    border: 1px solid #eee;
    border-radius: 8px;
    background: #f9f9f9;
}

.form-content.active {
    display: block;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #333;
}

.form-input {
    width: 95%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 16px;
    transition: border-color 0.3s;
}

.form-input:focus {
    border-color: #4361ee;
    outline: none;
    box-shadow: 0 0 0 3px rgba(67, 97, 238, 0.2);
}

.phone-input {
    width: 50%;
    display: flex;
    gap: 10px;
}

.form-select {
    flex: 0 0 100px;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 6px;
    background: white;
    display: flex;
    align-items: center;
}

.form-textarea {
    width: 95%;
    min-height: 120px;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 6px;
    resize: vertical;
}

.form-checkbox {
    display: flex;
    align-items: center;
    margin: 25px 0;
}

.form-checkbox input {
    width: 20px;
    height: 20px;
    margin-right: 10px;
}

.form-checkbox label {
    margin-bottom: 0;
    font-weight: normal;
}

.submit-btn {
    background-color: #4361ee;
    color: white;
    border: none;
    padding: 14px 28px;
    border-radius: 6px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s, opacity 0.3s;
}

.submit-btn:hover {
    background-color: #3a56d4;
}

.submit-btn:disabled {
    background-color: #cccccc;
    cursor: not-allowed;
}

.error-message {
    color: #dc3545;
    font-size: 14px;
    margin-top: 5px;
}

.status-message {
    padding: 12px;
    border-radius: 6px;
    margin-top: 20px;
    display: none;
}

.status-message.success {
    background-color: #d4edda;
    color: #155724;
    display: block;
}

.status-message.error {
    background-color: #f8d7da;
    color: #721c24;
    display: block;
}

.is-invalid {
    border-color: #dc3545 !important;
}

.field-error {
    color: #dc3545;
    font-size: 14px;
    margin-top: 5px;
}

.form-container {
    background: white;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    padding: 30px;
    margin: 20px auto;
}

.submit-btn:disabled {
    background-color: #cccccc !important;
    cursor: not-allowed;
    opacity: 0.7;
}

.submit-btn:disabled:hover {
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.required-field::after, .form-checkbox-label::after{
    content: " *";
    color: red;
}

#notification {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 1000;
    transition: all 0.3s ease;
}

.notification-hidden {
    opacity: 0;
    visibility: hidden;
}

.notification-visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.notification-content {
    padding: 20px 40px;
    border-radius: 8px;
    font-size: 18px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    animation: fadeIn 0.5s;
}

.notification-success .notification-content {
    background: green;
    color: white;
}

.notification-error .notification-content {
    background-color: #F44336;
    color: white;
}

.notification-content {
    animation: fadeIn 0.5s;
}

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

.unexpandable-textarea {
    resize: none;
    font-family: Arial, sans-serif;
    min-height: 100px;
    max-height: 200px;
    overflow-y: auto;
    font-size: 16px;
}

.form-image {
    flex: 0 1 45%;
    position: relative;
    overflow: hidden;
    height: 75vh;
    display: flex;
    justify-content: center;
    align-items: center;
    background: #f5f5f5;
    margin-right: 1%;
}

.form-image img {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    object-fit: cover;
}

.active-image {
    opacity: 1;
    z-index: 1;
}

.hidden-image {
    opacity: 0;
    z-index: 0;
}
.form-content-wrapper {
    flex: 1;
}

@media (max-width: 768px) {
    .callback {
        flex-direction: column;
    }
    .form-image {
        width: 100%;
        margin-bottom: 20px;
    }
    .form-image img {
        position: static;
    }
}

input[type="number"]::-webkit-outer-spin-button,
input[type="number"]::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

input[type="number"] {
    -moz-appearance: textfield;
}