.error {
    color: rgb(249, 52, 52);
    margin-top: 8px;
}

.d-inline-block {
    color: #f06666;
}

.password-field {
    position: relative;
}

.password-toggle {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    color: #666;
}

.custom-loading {
    position: relative;
    pointer-events: none;
}

.custom-loading:after {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    top: 50%;
    left: 50%;
    margin-left: -10px;
    margin-top: -10px;
    border: 2px solid #fff;
    border-radius: 50%;
    border-top: 2px solid transparent;
    animation: spin 0.8s linear infinite;
}

.upload-box {
    border: 2px dashed #ccc;
    padding: 20px;
    text-align: center;
    cursor: pointer;
    min-height: 165px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.image-preview-container  .preview-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.image-preview-container {
    position: relative;
    width: fit-content;
    height: 120px;
}

.remove-image {
    position: absolute;
    right: -8px;
    top: -8px;
    background: #ff0000;
    color: white;
    border: none;
    border-radius: 50%;
    padding: 5px ;
    cursor: pointer;
    width: 30px;
    height: 30px;
}

.ct-btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}