/* login css */

@media (min-width: 992px) {
    .login-link {
        display: none;
    }
}

.inline-block {
    width: 120px;
    height: 120px;
    border: 1px solid black;
    border-radius: 50%
}

.fileupload input.upload {
    cursor: pointer;
    filter: alpha(opacity=0);
    font-size: 20px;
    margin: 0;
    opacity: 0;
    padding: 0;
    position: absolute;
    right: -2.5rem;
    top: -5rem;
    padding: 5px;
    height: 6.5rem;
    width: 6.5rem;
    border-radius: 50%;
}

.btn:not(:disabled):not(.disabled) {
    cursor: pointer;
}

.fileupload.btn {
    position: relative;
    right: 5.5rem;
    margin-top: 5.5rem;
    background: transparent;
    border-radius: 0;
    padding: 3px 10px;
    border: none;
    width: 12%;
    height: 30%;
}


/* input type tel css */

h3 {
    color: #2C80FA;
}

.sign-up {
    width: 100%;
    /* Full width */
    margin: 0;
    /* No margin */
    padding-top: 50px;
    /* Optional padding */
}

.container-fluid {
    max-width: 100%;
    /* Full width */
    padding: 0;
    /* No padding */
}

.row {
    margin: 0;
    /* No margin */
}

input[type="tel"] {
    width: 100%;
    padding: 15px 19px;
    border: 1px solid #DFE3E7;
    border-radius: 0.267rem;
    font-size: 1rem;
    line-height: 1.4;
    color: black;
    background-color: #FFF;
}

.intl-tel-input {
    width: 100%;
}

.iti {
    width: 100%;
}

input[type="text"],
input[type="tel"],
input[type="password"],
input[type="email"],
select {
    background-color: #6e798a1c;
    /* Default background color */
    transition: background-color 0.3s;
}

input[type="text"]:focus,
input[type="tel"]:focus,
input[type="password"]:focus,
input[type="email"]:focus,
select:focus {
    background-color: #3e57791c;
    /* Keep the background color the same on focus */
    outline: none;
    /* Optional: remove the outline */
}


/* Microsoft Edge */

input[type="password"]::-ms-reveal,
input[type="password"]::-ms-clear {
    display: none;
    /* Edge ke liye */
}


/* Firefox */

input[type="password"] {
    -moz-appearance: none;
    /* Firefox ke liye */
}


/* Chrome, Safari, and Opera */

input[type="password"] {
    -webkit-text-security: disc;
    /* Chrome aur Safari ke liye */
}


/* General styling */

input[type="password"] {
    appearance: none;
    /* All browsers */
    outline: none;
    /* Focus outline ko remove karne ke liye */
}


/* profile css */

.a1 {
    width: auto;
    margin: 2%;
}

.user-info-fieldset {
    border: 2px solid #2C80FA;
    border-radius: 8px;
    padding: 20px;
    margin: -1.5rem auto;
    max-width: 100%;
    height: auto;
    background-color: rgb(240, 235, 235);
    display: flex;
    align-items: center;
    position: relative;
}

.user-info-fieldset legend {
    font-size: 1.5rem;
    font-weight: bold;
    color: #2C80FA;
    padding: 0 10px;
    text-align: center;
}

legend {
    display: block;
    padding-inline-start: 2px;
    padding-inline-end: 2px;
    unicode-bidi: isolate;
    border-width: initial;
    border-style: none;
    border-color: initial;
    border-image: initial;
    float: none;
    width: unset;
}

.user-info-fieldset p {
    font-size: 1rem;
    color: #2C80FA;
    margin: 5px 0;
}

.user-image {
    flex: 0 0 30%;
    display: flex;
    justify-content: center;
}

.user-image img {
    border-radius: 50%;
    width: 15rem;
    height: 15rem;
    margin-left: 1.5rem;
}

.user-info {
    flex: 1;
    margin-left: 30%;
    font-size: 1.5rem;
}

.user-info span {
    margin-bottom: 5px;
    color: blue;
    text-transform: capitalize;
}


/* Flexbox for info rows */

.info-row {
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

.info-row span {
    margin-right: 10px;
    /* Space between h5 and p */
    color: black;
    /* Keep the same color */
}

.info-row p {
    margin: 0;
    /* Remove default margin */
    color: #333;
    /* Default color for text */
}


/* Styles for the ellipsis icon */

.ellipsis-icon {
    position: absolute;
    top: 10px;
    right: 10px;
    font-size: 1.5rem;
    color: #2C80FA;
    cursor: pointer;
}


/* Styles for the dropdown */

.custom-dropdown {
    display: none;
    position: absolute;
    top: 40px;
    right: 10px;
    border: 1px solid #2C80FA;
    border-radius: 5px;
    background-color: #fff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    z-index: 1000;
}

.custom-dropdown-item {
    padding: 10px 15px;
    display: flex;
    align-items: center;
    cursor: pointer;
    color: #333;
    border: none;
    border-radius: 0.3rem;
}

.edit-item {
    background-color: #28a745;
    color: white;
}

.delete-item {
    background-color: #dc3545;
    color: white;
}

.custom-dropdown-item:hover {
    background-color: #f0f0f0;
}

.edit-item:hover {
    color: #218838;
}

.delete-item:hover {
    color: #c7254e;
}

.dropdown-icon {
    margin-right: 10px;
}

@media (max-width: 950px) {
    .user-info {
        margin-left: 3rem;
    }
}

@media (max-width: 550px) {
    .user-info-fieldset {
        height: auto;
        flex-direction: column;
        align-items: center;
        /* margin: -2rem auto; */
    }
    .user-image img {
        width: 10rem;
        height: 10rem;
        margin-left: 0;
    }
    .user-info {
        font-size: 1.2rem;
        margin: 2rem;
    }
    /* Stack the info rows */
    .info-row {
        flex-direction: column;
        /* Change to column layout */
        align-items: flex-start;
        /* Align items to the start */
    }
    .info-row h5 {
        margin-right: 0;
        /* Reset margin for stacked layout */
    }
}

@media (max-width: 300px) {
    .info-row {
        display: block;
    }
}