/* Card */
.card-ui {
    background: #fff;
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.06);
    margin-top: 20px;
}

/* Alert */
.custom-alert {
    border-radius: 10px;
    font-size: 14px;
    background: #eef7ff;
    border: 1px solid #d6e9ff;
    color: #0b5ed7;
}

/* Form */
.lawyer-form .form-group {
    margin-bottom: 18px;
}

.lawyer-form label {
    font-weight: 600;
    font-size: 13px;
    color: #444;
}

.lawyer-form .form-control {
    border-radius: 8px;
    padding: 10px 12px;
    font-size: 14px;
    border: 1px solid #ddd;
    transition: all 0.2s ease;
}

.lawyer-form .form-control:focus {
    border-color: #0d6efd;
    box-shadow: 0 0 0 0.15rem rgba(13,110,253,.15);
}

/* Button */
.btn-success {
    border-radius: 30px;
    font-weight: 600;
}

/* Responsive */
@media (max-width: 768px) {
    .card-ui {
        padding: 20px;
    }
}

.image-upload-wrapper {
    width: 100%;
}

.image-upload-box {
    display: block;
    width: 100%;
    height: 220px;
    border: 2px dashed #d0d7de;
    border-radius: 14px;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    background: #f9fafb;
    transition: all 0.25s ease;
}

.image-upload-box:hover {
    border-color: #0d6efd;
    background: #f1f7ff;
}

.upload-placeholder {
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: #6c757d;
    font-size: 14px;
    gap: 8px;
}

.upload-placeholder i {
    font-size: 36px;
    color: #0d6efd;
}

.image-upload-box{ position: relative; display: flex; align-items: center; justify-content: center; width: 100%; height: 250px; border: 2px dashed #ccc; border-radius: 12px; overflow: hidden; cursor: pointer; }
.image-preview{ position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: none;  z-index:3}
.upload-placeholder{ position: relative; z-index: 2; text-align: center; }
