﻿

/* Selector styles */
.gra-select-container {
    position: relative;
    width: 100%;
}

.gra-select {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    font-size: 15px;
    color: #1e293b;
    transition: all 0.3s ease;
    background-color: #f8fafc;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' 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 12px center;
    background-size: 16px;
    padding-right: 40px;
}
.about-card{
    overflow:visible;
}
.gra-select:focus {
    outline: none;
    border-color: #FF6F0F;
    box-shadow: 0 0 0 3px rgba(255, 111, 15, 0.1);
    background-color: white;
}

    .gra-select:hover {
        border-color: #FF6F0F;
    }



/* Searchable Select CSS */
.gc-custom-select-container {
    position: relative;
    width: 100%;
    margin-bottom: 20px;
}

.gc-custom-select-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 15px;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    background-color: #f8fafc;
    cursor: pointer;
    font-size: 15px;
    color: #1e293b;
}

    .gc-custom-select-header:hover {
        border-color: #FF6F0F;
    }



.gc-custom-select-dropdown.active {
    display: block;
}

/* Arama kutusu bölümünü sabit hale getiriyoruz */
/* Dropdown pozisyonunu değiştir - üstten (top) göstermek yerine alttan (bottom) göster */

.gc-custom-select-input:focus {
    outline: none;
    border-color: #FF6F0F;
    box-shadow: 0 0 0 3px rgba(255, 111, 15, 0.1);
}

/* Seçenekler bölümü */
.gc-custom-select-options {
    list-style: none;
    margin: 0;
    padding: 0;
    max-height: 250px;
    overflow-y: auto;
}

.gc-custom-select-option {
    padding: 10px 15px;
    cursor: pointer;
    transition: background-color 0.2s;
}

    .gc-custom-select-option:hover {
        background-color: rgba(255, 111, 15, 0.05);
    }

.gc-custom-select-hidden {
    display: none;
}

.gc-select-no-results {
    padding: 15px;
    text-align: center;
    color: #64748b;
    font-style: italic;
}

/* Ok simgesi için stil */
.gc-custom-select-arrow {
    margin-left: 10px;
    transition: transform 0.3s;
}

.gc-custom-select-header.active .gc-custom-select-arrow {
    transform: rotate(180deg);
}

/* Label stili */
.gf-label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: #334155;
}

/* Dropdown'ın aşağı doğru açılmasını sağla */


/* Arama kutusunu en üstte sabit tut */
.gc-custom-select-search {
    position: sticky;
    top: 0;
    padding: 10px;
    border-bottom: 1px solid #e2e8f0;
    background-color: white;
    z-index: 2; /* Scroll sırasında üstte kalması için z-index arttırıldı */
}

/* Arama kutusu input stilini geliştir */
.gc-custom-select-input {
    width: 100%;
    padding: 8px 12px;
    border: 1px solid #e2e8f0;
    border-radius: 4px;
    font-size: 14px;
}

    .gc-custom-select-input:focus {
        outline: none;
        border-color: #FF6F0F;
        box-shadow: 0 0 0 3px rgba(255, 111, 15, 0.1);
    }

/* Seçenekler bölümünün scroll yapmasını sağla, arama kutusu sabit kalsın */
.gc-custom-select-options {
    list-style: none;
    margin: 0;
    padding: 0;
    max-height: 280px; /* Liste için maksimum yükseklik */
    overflow-y: auto;
}

.gc-custom-select-container {
    position: relative;
    width: 100%;
    z-index: 10;
}

.gc-custom-select-header {
    position: relative;
    z-index: 11;
}

.gc-custom-select-dropdown {
    position: absolute;
    top: 100%; /* Üst elementin tam altında */
    left: 0;
    width: 100%;
    max-height: 400px;
    background-color: white;
    border: 1px solid #e2e8f0;
    border-radius: 0 0 8px 8px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    z-index: 100;
    display: none;
    margin-top: 5px; /* Küçük bir boşluk bırak */
    overflow-y: auto;
}

    .gc-custom-select-dropdown.active {
        display: block;
    }

/* Arama kutusunun üstte kalmasını sağla */
.gc-custom-select-search {
    position: sticky;
    top: 0;
    background-color: white;
    z-index: 2;
    padding: 10px;
    border-bottom: 1px solid #e2e8f0;
}
