#denied-photos {
    display: none;
} 

.add-photo-section-second {
    border: dashed 1px #978F6B;
    height: 407px;
    max-height: 410px;
    background: #FCFBF6;
    text-align: center;
    cursor: pointer;
    display: flex;
    align-items: center;
    flex-direction: column;
}

.add-photo-section-second h5 {
    font-family: var(--source-serif-4-font);
    font-weight: var(--font-weight-500);
    font-size: var(--font-size-32) !important;
    line-height: 32px;
    margin-bottom: 52.7px;
    margin-top: 60.59px;
}

.add-photo-section-second p {
    font-family: var(--roboto-font);
    font-weight: var(--font-weight-600);
    font-size: var(--font-size-12);
    letter-spacing: 0.12em;
    margin-bottom: 31.47px;
}

.add-photo-section-second span {
    font-family: var(--roboto-font);
    font-weight: var(--font-weight-600);
    font-size: var(--font-size-12);
    letter-spacing: 0.12em;
    color: #7B7453;
}

.add-photo-section-second img {
    width: 77px;
    height: 80px;
    margin-bottom: 40.28px;
}

.add-photo-section-second .progress {
    margin-top: 52.47px;
    margin-bottom: 88.28px;
    /* margin: 52.47px 131px 88.28px 131px; */
}

.denied-photos-section {
    margin-top: 64px;
}

.skeleton-image {
    width: 200px;
    height: 200px;
    background-color: #F6F6F6;
    border-radius: 5px;
}

.progress {
    background: #EAE9DF !important;
    height: 5px !important;
    width: 296px !important;
}

.progress-bar {
    background-color: var(--primary-color) !important;
}


.show-loader {
    visibility: visible;
}

.denied-photo-section {
    border: dashed 1px #CA1F1F;
    background: #FCFBF6;
    height: 367px;
    max-height: 367px;
    padding: 40px;
    margin-top: 35px;
}

.select-all {
    font-family: var(--roboto-font);
    font-size: var(--font-size-10);
    font-weight: var(--font-weight-600);
    letter-spacing: 0.12em;
}

.upload-photo-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 41px;
}

.upload-photo-header h1 {
    font-family: var(--source-serif-4-font);
    font-size: var(--font-size-40);
    font-weight: var(--font-weight-500);
    line-height: 26px;
    margin-bottom: 0px;
}

.main-content {
    margin: 30px;
}

.modal-content {
    width: 642px;
    border: none;
    border-radius: 0px !important;
}

.modal-header-img {
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-body h2 {
    font-family: var(--source-serif-4-font);
    font-size: var(--font-size-26) !important;
    font-weight: var(--font-weight-600);
    line-height: 32px;
    margin-top: 0px;
}

.submit-note {
    background: linear-gradient(180deg, var(--primary-color) 0%, #9C946E 100%) !important;
    font-size: 13px !important;
    padding: 0px 85px 0px 85px;
    height: 64px !important;
    border: 0px;
    border-radius: 0;
    font-family: var(--roboto-font);
    font-weight: 600;
    letter-spacing: 0.12em;
}

.note-input {
    border: 1px solid #E4E4E4 !important;
    border-radius: 0px;
    padding: 0px 10px 0px 10px;
    overflow: hidden;
    padding: 15px;
}

.note-input:focus-visible {
    outline: unset !important;
}

.note-input::placeholder {
    font-family: var(--roboto-font);
    font-size: var(--font-size-16);
    font-weight: var(--font-weight-400);
    margin: 15px;
}

.modal-header-img {
    display: flex;
    align-items: center;
}

.modal-header-img::before,
.modal-header-img::after {
    content: '';
    flex-grow: 1;
    height: 1px;
    background-color: #C2BCA6;
    margin: 0 10px;
}

.request-modal-content .request-modal-header {
    background: white;
    height: 50.62px;
    width: 50px;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    transform: rotate(45deg);
}

.request-modal .modal-dialog,
.fav-modal .modal-dialog,
.note-modal .modal-dialog {
    max-width: 642px !important;
    width: 642px;
}

.request-modal,
.fav-modal,
.note-modal {
    background: rgba(0, 0, 0, 0.85) !important;
}

.request-modal-content .modal-body {
    border-bottom: 1px solid rgba(166, 159, 136, 1);
}

.request-modal-content {
    background: linear-gradient(90deg, rgba(120, 114, 92, 1), rgba(139, 133, 111, 1));
}


.request-modal-header-img {
    display: flex;
    align-items: center;
    gap: 20px;
}

.request-modal-header-img::before,
.request-modal-header-img::after {
    content: '';
    flex-basis: 42%;
    height: 1px;
    background-color: rgba(166, 159, 136, 1);
}

.req-header-img {
    height: 22;
    width: 22.10px;
    transform: rotate(306deg)
}

.processed-title {
    font-family: var(--roboto-font);
    font-size: var(--font-size-14);
    font-weight: var(--font-weight-600);
    line-height: 32px;
    letter-spacing: 0.12em;
    color: rgba(255, 255, 255, 1);
}

.processed-content {
    font-family: var(--roboto-font);
    font-size: var(--font-size-16);
    font-weight: var(--font-weight-400);
    line-height: 32px;
    color: rgba(255, 255, 255, 1);
}

.processed-footer {
    font-family: var(--roboto-font);
    font-size: var(--font-size-14);
    font-weight: var(--font-weight-500);
    line-height: 32px;
    letter-spacing: 0.12em;
    color: rgba(255, 255, 255, 1);
}

.main-image-class {
    max-height: inherit;
    height: 280.97px;
    object-fit: cover;
}

@media (min-width: 1200px) and (max-width: 1399px) {
    .main-image-class {
        height: 240.05px !important;
    }
}

@media (min-width: 992px) and (max-width: 1199px) {
    .main-image-class {
        height: 199.13px !important;
    }
}

@media (min-width: 960px) and (max-width: 991px) {
    .main-image-class {
        height: 144.56px !important;
    }
}

@media (min-width: 320px) and (max-width: 959px) {
    .main-image-class {
        height: 279.97px !important;
        width: 246.31px;
    }
}

@media (min-width: 320px) and (max-width: 512px) {
    .modal-content {
        width: 100% !important;
    }

    .modal-body {
        padding: 0px !important;
    }

    .upload-photo-header {
        margin-bottom: 20px;
    }
    .upload-photo-header h1 {
        font-size: var(--font-size-32) !important;
        line-height: 26px;
    }
}

.upload-photo-grid {
    display: grid;
    gap: 7px;
    grid-template-columns: repeat(3, 200px);
    /* justify-content: center; */
}

.photo-item {
    width: 200px;
    height: 200px;
    position: relative;
    flex: 0 0 200px;
}

.photo-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}


/* Approve Photos Page Grid */
.denied-photo-grid-wrapper {
    display: flex;
    flex-wrap: nowrap;
    justify-content: space-between;
    align-items: flex-start;
}

.approve-photo-grid {
    display: grid;
    grid-template-columns: repeat(5, 145px);
    gap: 7px;
    margin-top: 43px;
    margin-bottom: 63px;
}

.photo-wrapper {
    width: 145px;
    height: 145px;
    flex: 0 0 auto;
}

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

.denied-photo-reason-box {
    flex: 1 1 397px;
    padding: 29px 50px;
    background-color: white;
    border: 1px solid #E8E5D9;
    border-radius: 6px;
    max-width: 397.23016357421875px;
    height: 291px;
    font-size: 15px;
}

.denied-photo-reason-box .reason-title {
    font-family: var(--roboto-font);
    font-size: var(--font-size-12);
    font-weight: var(--font-weight-600);
    line-height: 24px;
    letter-spacing: 0.12em;
    text-align: center;
}

.denied-photo-reason-box ul {
    list-style: none;
    font-family: var(--roboto-font);
    font-size: var(--font-size-16);
    font-weight: var(--font-weight-400);
    line-height: 38px;
    text-align: left;
    color: var(--dark-gray);
    padding-left: 0px;
}


/* Extra Small Devices (phones, less than 576px) */
@media (max-width: 575.98px) {
    .request-modal .modal-dialog,
    .fav-modal .modal-dialog,
    .note-modal .modal-dialog {
        max-width: 96% !important;
        width: 96%;
    }
}

/* Small Devices (phones, 576px and up) */
@media (min-width: 576px) and (max-width: 767.98px) {}

/* Medium Devices (tablets, 768px and up) */
@media (min-width: 768px) and (max-width: 991.98px) {}

/* Large Devices (desktops, 992px and up) */
@media (min-width: 992px) and (max-width: 1199.98px) {}

/* Extra Large Devices (large desktops, 1200px and up) */
@media (min-width: 1200px) {}


.box-loader {
    display: flex;
    gap: 8px;
    justify-content: center;
    align-items: center;
    height: 100px;
  }
  
.box {
    width: 19px;
    height: 56px;
    border: 1px solid #E9E9E9;
    background-color: #FFFFFF;
    animation: fillBox 1.2s infinite;
    animation-delay: calc(var(--i) * 0.2s);
}
  
.box:nth-child(1) { --i: 0; }
.box:nth-child(2) { --i: 1; }
.box:nth-child(3) { --i: 2; }
.box:nth-child(4) { --i: 3; }
.box:nth-child(5) { --i: 4; }
.box:nth-child(6) { --i: 5; }
.box:nth-child(7) { --i: 6; }
.box:nth-child(8) { --i: 7; }

@keyframes fillBox {
    0%, 100% {
        background-color: #FFFFFF;
    }
    50% {
        background-color: #978F6B;
    }
}