/* Custom CSS for EventXPro */

.custom-phone-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    width: 100%;
}

.custom-phone-trigger {
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    display: flex;
    align-items: center;
    padding: 0 10px;
    cursor: pointer;
    background: #d018b8;
    /* matching theme */
    color: #fff;
    border-right: 1px solid rgba(255, 255, 255, 0.1);
    border-top-left-radius: 5px;
    border-bottom-left-radius: 5px;
    z-index: 2;
    font-size: 14px;
}

.custom-phone-trigger .flag {
    margin-right: 5px;
}

.custom-phone-wrapper input[type="tel"] {
    padding-left: 85px !important;
}

.custom-phone-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    background: #fff;
    border: 1px solid #ddd;
    list-style: none;
    padding: 0;
    margin: 5px 0 0 0;
    width: 250px;
    max-height: 200px;
    overflow-y: auto;
    z-index: 1000;
    display: none;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    border-radius: 5px;
}

.custom-phone-dropdown.show {
    display: block;
}

.custom-phone-dropdown li {
    padding: 10px;
    display: flex;
    align-items: center;
    cursor: pointer;
    border-bottom: 1px solid #eee;
    color: #333;
    font-size: 14px;
}

.custom-phone-dropdown li:hover {
    background: #f0f0f0;
}

.custom-phone-dropdown li .flag {
    margin-right: 10px;
    font-size: 18px;
}

.custom-phone-dropdown li .name {
    flex-grow: 1;
}

.custom-phone-dropdown li .code {
    color: #666;
    font-size: 12px;
}
