﻿




body {
    font-size: 12px;
 
}
/* Validation input styles */
.is-valid {
    border: 2px solid #0d6efd !important;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%230d6efd' viewBox='0 0 16 16'%3E%3Cpath d='M16 8A8 8 0 1 1 0 8a8 8 0 0 1 16 0zM6.97 11.03a.75.75 0 0 0 1.07 0l4-4a.75.75 0 0 0-1.06-1.06L7.5 9.44 5.53 7.47a.75.75 0 0 0-1.06 1.06l2.5 2.5z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 0.75rem center;
    background-size: 1.2em;
    padding-right: 2.5rem;
}

.is-invalid {
    border: 2px solid #dc3545 !important;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%23dc3545' viewBox='0 0 16 16'%3E%3Cpath d='M16 8A8 8 0 1 1 0 8a8 8 0 0 1 16 0zM5.354 4.646a.5.5 0 1 0-.708.708L7.293 8l-2.647 2.646a.5.5 0 0 0 .708.708L8 8.707l2.646 2.647a.5.5 0 0 0 .708-.708L8.707 8l2.647-2.646a.5.5 0 0 0-.708-.708L8 7.293 5.354 4.646z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 0.75rem center;
    background-size: 1.2em;
    padding-right: 2.5rem;
}

.text-end.is-valid,
.text-end.is-invalid {
    background-position: left 0.75rem center !important;
    padding-left: 2.5rem !important;
    padding-right: 1rem !important;
}

/* Profile preview image */
#profilePreview {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Modal header */
.modal-header {
    background-color: #2E62AE !important;
}

    .modal-header h5 {
        background-color: #2E62AE !important;
        color: white !important;
    }

    .modal-header .header-row {
        display: flex;
        gap: 1rem;
        align-items: center;
        width: 100%;
    }

/* Preview section in modal */
.preview-photo {
    width: 170px;
    height: 200px;
    flex-shrink: 0;
    border-radius: 0.5rem;
    overflow: hidden;
    border: 2px solid #ddd;
}

    .preview-photo img {
        width: 100% !important;
        height: 100% !important;
        object-fit: cover !important;
    }

.message-box {
    flex-grow: 1;
    height: 200px;
    border-radius: 0.5rem;
    padding: 1rem;
    background-color: #fff3cd;
    border: 1px solid #ffeeba;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1rem;
    text-align: center;
}

/* Preview cards */
.preview-card {
    background-color: #f8f9fa;
    border-radius: 0.75rem;
    padding: 0.75rem 1rem;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
    min-height: 50px;
    margin-bottom: 0.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.preview-label {
    font-weight: 600;
    color: #495057;
    font-size: 0.9rem;
}

.preview-value {
    font-size: 1rem;
    color: #212529;
    text-align: left;
}

/* Header area */
.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

h6 {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 10px;
}

.logo1 img,
.logo2 img,
.logo3 img {
    width: 70px;
    height: auto;
}

.center {
    text-align: center;
    flex-grow: 1;
}

#p1, #p2, #p3 {
    font-weight: bold;
}

#p1 {
    font-size: 18px;
}

#p2 {
    font-size: 16px;
}

#p3 {
    font-size: 14px;
}

/* Placeholder custom style */
.custom-placeholder::placeholder {
    color: #dddddd;
    opacity: 1;
}

#shamsiDate::placeholder {
    color: #dddddd !important;
    opacity: 1;
}


#imageCropper {
    max-width: 100%;
    display: block;
}
#profileImageBtn {
    width: 160px;
    position: relative;
    z-index: 3;
    background-color: #2E62AE;
    color: white;

}
#profileImageBtn:hover {
    background-color: darkblue;
}


#previewBtn {
    background-color: #2E62AE;
    color:white;
}
    #previewBtn:hover {
        background-color: darkblue;
    }

#modalBtnImg {
    background-color: #2E62AE;
    color: white;
}
#modalBtnImg:hover {
    background-color: darkblue;
}
@media(max-widht:576px){
    .btn-success{
        margin-top:10px;
    }
}