/* professional details toggle button */
.toggle-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    margin: 20px 0;
}

.toggle-switch {
    position: relative;
    width: 50px;
    height: 26px;
}

.toggle-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    transition: .4s;
    border-radius: 34px;
}

.slider:before {
    position: absolute;
    content: "";
    height: 20px;
    width: 20px;
    left: 3px;
    bottom: 3px;
    background-color: white;
    transition: .4s;
    border-radius: 50%;
}

input:checked + .slider {
    background-color: #28a745; /* green */
}

input:checked + .slider:before {
    transform: translateX(24px);
}

.dropdown-menu {
    border-radius: 8px;
    padding: 6px 0;
    border: 1px solid #e5e7eb;
    box-shadow: 0px 4px 6px rgba(0,0,0,0.1);
    min-width: 200px;
}

/* Dropdown items */
.dropdown-item {
    font-size: 14px;
    font-weight: 400;
    color: #374151;
    padding: 10px 16px;
}

.dropdown-item:hover {
    background-color: #f3f4f6; /* soft gray hover */
    color: #111827;
    border-radius: 4px;
}

.dropdown-wrapper {
    width: 100%;
    position: relative;
}

.dropdown {
    background: #f8f8f8;
    border-radius: 10px;
    padding: 12px 16px;
    cursor: pointer;
    font-size: 15px;
    color: #b6b5b5;
    position: relative;
    user-select: none;
}

.dropdown::after {
    content: "▼";
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 12px;
    color: #888;
    transition: transform 0.3s;
}

.dropdown.open::after {
    transform: translateY(-50%) rotate(180deg);
}

.dropdown-list {
    list-style: none;
    padding: 0;
    margin: 8px 0 0;
    border-radius: 12px;
    background: #fff;
    box-shadow: 0px 4px 12px rgba(0, 0, 0, 0.1);
    position: absolute;
    width: 100%;
    max-height: 220px;
    overflow-y: auto;
    display: none;
    z-index: 1000;
}

.dropdown.open .dropdown-list {
    display: block;
}

.dropdown-item {
    padding: 12px 16px;
    color: #b6b5b5;
    font-size: 15px;
    cursor: pointer;
    transition: background 0.2s;
}

.dropdown-item:hover {
    background: #f1f1f1;
}

/* Special case for rejected */
.dropdown-item.rejected {
    color: red;
}


