/**
 * Stylesheet for: form.php
 * Extracted from internal style tags
 */

.custom-card {
    background-color: #f2f2f2;
    border-radius: 24px 24px 120px 24px;
    padding: 48px;
    max-width: 600px;
    width: 100%;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
}

.form-group-custom {
    margin-bottom: 24px;
    position: relative;
}

.form-group-custom label {
    font-weight: 500;
    font-size: 15px;
    color: #333333;
    margin-bottom: 6px;
    display: block;
}

.form-control-custom {
    border: none;
    border-bottom: 1px solid #c0c0c0;
    background-color: transparent !important;
    border-radius: 0;
    padding: 8px 0;
    color: #1a1a1a;
    font-size: 15px;
    width: 100%;
    transition: border-color 0.2s ease;
    box-sizing: border-box;
}

.form-control-custom:focus {
    outline: none;
    border-bottom: 2px solid #47665B;
    box-shadow: none;
}

/* Native fallback select */
select.form-control-custom {
    appearance: none;
    background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='none' stroke='%23343a40' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m2 5 6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 0 center;
    background-size: 12px 12px;
    padding-right: 20px;
}

/* ========================================================
   CUSTOM MODERN SELECT DROPDOWN (MOBILE OPTIMIZED)
======================================================== */
.akt-custom-select {
    position: relative;
    width: 100%;
    box-sizing: border-box;
}

.akt-real-select {
    position: absolute !important;
    opacity: 0 !important;
    pointer-events: none !important;
    width: 1px !important;
    height: 1px !important;
    margin: 0 !important;
    padding: 0 !important;
    border: none !important;
    clip: rect(0, 0, 0, 0) !important;
}

.akt-select-trigger {
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
    user-select: none;
    padding: 8px 0;
    border: none;
    border-bottom: 1px solid #c0c0c0;
    background-color: transparent !important;
    color: #1a1a1a;
    font-size: 15px;
    width: 100%;
    transition: border-color 0.2s ease;
    box-sizing: border-box;
}

.akt-select-trigger:focus,
.akt-custom-select.is-open .akt-select-trigger {
    outline: none;
    border-bottom: 2px solid #47665B;
}

.akt-select-trigger.is-invalid {
    border-bottom: 2px solid #dc2626 !important;
}

.akt-select-label {
    flex: 1;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    padding-right: 10px;
    font-size: 15px;
    color: #1a1a1a;
}

.akt-select-label.placeholder-text {
    color: #757575;
}

.akt-select-icon {
    font-size: 12px;
    color: #475569;
    transition: transform 0.25s cubic-bezier(0.4, 0, 0.2, 1), color 0.2s ease;
    flex-shrink: 0;
}

.akt-custom-select.is-open .akt-select-icon {
    transform: rotate(180deg);
    color: #47665B;
}

.akt-select-dropdown {
    position: absolute;
    top: calc(100% + 4px);
    left: 0;
    right: 0;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.12), 0 8px 10px -6px rgba(0, 0, 0, 0.05);
    z-index: 1050;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: opacity 0.2s cubic-bezier(0.16, 1, 0.3, 1), transform 0.2s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.2s;
    overflow: hidden;
    max-height: 260px;
    overflow-y: auto;
}

.akt-custom-select.is-open .akt-select-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.akt-option {
    padding: 12px 16px;
    font-size: 14.5px;
    color: #1f2937;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: background-color 0.15s ease, color 0.15s ease;
    border-bottom: 1px solid #f3f4f6;
    line-height: 1.35;
}

.akt-option:last-child {
    border-bottom: none;
}

.akt-option:hover,
.akt-option.is-focused {
    background-color: #f0fdf4;
    color: #065f46;
    font-weight: 600;
}

.akt-option.is-selected {
    background-color: #ecfdf5;
    color: #047857;
    font-weight: 700;
}

.akt-option.is-selected::after {
    content: "\f00c";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    font-size: 13px;
    color: #059669;
    margin-left: 8px;
}

/* Textarea styling */
textarea.form-control-custom {
    min-height: 80px;
    resize: vertical;
}

/* Button styling */
.btn-custom {
    background-color: #47665B;
    color: #ffffff;
    border: none;
    border-radius: 8px;
    padding: 12px 28px;
    font-weight: 600;
    font-size: 16px;
    transition: background-color 0.2s ease, transform 0.1s ease;
}

.btn-custom:hover {
    background-color: #3b544b;
    color: #ffffff;
}

.btn-custom:active {
    transform: scale(0.98);
}

/* OTP Inputs styling */
.otp-input-custom {
    width: 40px;
    height: 44px;
    text-align: center;
    border: none;
    border-bottom: 2px solid #c0c0c0;
    background-color: transparent;
    font-size: 20px;
    font-weight: bold;
    margin: 0 4px;
    color: #1a1a1a;
}

.otp-input-custom:focus {
    outline: none;
    border-bottom: 2px solid #47665B;
}

/* Responsive Mobile Form Adjustments */
@media (max-width: 768px) {
    .contact-form {
        padding: 34px 22px !important;
        margin-left: 0 !important;
    }

    .akt-option {
        padding: 13px 14px;
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    .contact-form {
        padding: 28px 18px !important;
    }

    .custom-card {
        padding: 28px 18px !important;
    }

    .akt-select-trigger {
        font-size: 14.5px;
    }

    .akt-option {
        padding: 12px 14px;
        font-size: 13.5px;
    }
}