/*
Click nbfs://nbhost/SystemFileSystem/Templates/Licenses/license-default.txt to change this license
Click nbfs://nbhost/SystemFileSystem/Templates/Other/CascadeStyleSheet.css to edit this template
*/
/* 
    Created on : 11-Apr-2025, 2:16:44 pm
    Author     : akhil
*/

.drop-zone {
    border: 2px dashed #219346;
    padding: 30px;
    text-align: center;
    cursor: pointer;
    position: relative;
    transition: border-color 0.3s ease, background-color 0.3s ease;
    border-radius: 10px;
    background-color: #fafafa;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.drop-zone:hover {
    background-color: #f0f0f0;
}

.drop-zone.dragover {
    border-color: #28a745;
    background-color: #e6f4ea;
}

.drop-zone.invalid {
    border-color: red;
    background-color: #ffe5e5;
}

@keyframes shake {
    0%, 100% {
        transform: translateX(0);
    }
    25% {
        transform: translateX(-4px);
    }
    50% {
        transform: translateX(4px);
    }
    75% {
        transform: translateX(-4px);
    }
}

.drop-zone.shake {
    animation: shake 0.3s;
}

.drop-zone .fa-image {
    color: #999;
}

.preview-image {
    display: block;
    max-width: 100%;
    height: auto;
    border-radius: 6px;
    object-fit: contain;
}

.remove-btn {
    display: none;
    position: absolute;
    top: 10px;
    right: 10px;
    background: rgba(255, 0, 0, 0.8);
    color: white;
    border: none;
    border-radius: 50%;
    width: 30px;
    height: 30px;
    font-size: 16px;
    cursor: pointer;
}

.remove-btn:hover {
    background-color: darkred;
}

.drop-text {
    color: #aaa;
    font-size: 14px;
    pointer-events: none;
    user-select: none;
}

.drop-zone.invalid {
    border-color: red;
    background-color: #ffe5e5;
}

.drop-zone-sub-one {
    border: 2px dashed #219346;
    padding: 30px;
    text-align: center;
    cursor: pointer;
    position: relative;
    transition: border-color 0.3s ease, background-color 0.3s ease;
    border-radius: 10px;
    background-color: #fafafa;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.drop-zone-sub-one:hover {
    background-color: #f0f0f0;
}

.drop-zone-sub-one.dragover {
    border-color: #28a745;
    background-color: #e6f4ea;
}

.drop-zone-sub-one.invalid {
    border-color: red;
    background-color: #ffe5e5;
}

.drop-zone-sub-one.shake {
    animation: shake 0.3s;
}

.drop-zone-sub-one .fa-image {
    color: #999;
}

.preview-image-sub-one {
    display: block;
    max-width: 100%;
    height: auto;
    border-radius: 6px;
    object-fit: contain;
}

.remove-btn-sub-one {
    display: none;
    position: absolute;
    top: 10px;
    right: 10px;
    background: rgba(255, 0, 0, 0.8);
    color: white;
    border: none;
    border-radius: 50%;
    width: 30px;
    height: 30px;
    font-size: 16px;
    cursor: pointer;
}

.remove-btn-sub-one:hover {
    background-color: darkred;
}

.drop-text-sub-one {
    color: #aaa;
    font-size: 14px;
    pointer-events: none;
    user-select: none;
}

.drop-zone-sub-one.invalid {
    border-color: red;
    background-color: #ffe5e5;
}

.drop-zone-sub-two {
    border: 2px dashed #219346;
    padding: 30px;
    text-align: center;
    cursor: pointer;
    position: relative;
    transition: border-color 0.3s ease, background-color 0.3s ease;
    border-radius: 10px;
    background-color: #fafafa;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.drop-zone-sub-two:hover {
    background-color: #f0f0f0;
}

.drop-zone-sub-two.dragover {
    border-color: #28a745;
    background-color: #e6f4ea;
}

.drop-zone-sub-two.invalid {
    border-color: red;
    background-color: #ffe5e5;
}

.drop-zone-sub-two.shake {
    animation: shake 0.3s;
}

.drop-zone-sub-two .fa-image {
    color: #999;
}

.preview-image-sub-two {
    display: block;
    max-width: 100%;
    height: auto;
    border-radius: 6px;
    object-fit: contain;
}

.remove-btn-sub-two {
    display: none;
    position: absolute;
    top: 10px;
    right: 10px;
    background: rgba(255, 0, 0, 0.8);
    color: white;
    border: none;
    border-radius: 50%;
    width: 30px;
    height: 30px;
    font-size: 16px;
    cursor: pointer;
}

.remove-btn-sub-two:hover {
    background-color: darkred;
}

.drop-text-sub-two {
    color: #aaa;
    font-size: 14px;
    pointer-events: none;
    user-select: none;
}

.drop-zone-sub-two.invalid {
    border-color: red;
    background-color: #ffe5e5;
}

.drop-zone-sub-three {
    border: 2px dashed #219346;
    padding: 30px;
    text-align: center;
    cursor: pointer;
    position: relative;
    transition: border-color 0.3s ease, background-color 0.3s ease;
    border-radius: 10px;
    background-color: #fafafa;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.drop-zone-sub-three:hover {
    background-color: #f0f0f0;
}

.drop-zone-sub-three.dragover {
    border-color: #28a745;
    background-color: #e6f4ea;
}

.drop-zone-sub-three.invalid {
    border-color: red;
    background-color: #ffe5e5;
}

.drop-zone-sub-three.shake {
    animation: shake 0.3s;
}

.drop-zone-sub-three .fa-image {
    color: #999;
}

.preview-image-sub-three {
    display: block;
    max-width: 100%;
    height: auto;
    border-radius: 6px;
    object-fit: contain;
}

.remove-btn-sub-three {
    display: none;
    position: absolute;
    top: 10px;
    right: 10px;
    background: rgba(255, 0, 0, 0.8);
    color: white;
    border: none;
    border-radius: 50%;
    width: 30px;
    height: 30px;
    font-size: 16px;
    cursor: pointer;
}

.remove-btn-sub-three:hover {
    background-color: darkred;
}

.drop-text-sub-three {
    color: #aaa;
    font-size: 14px;
    pointer-events: none;
    user-select: none;
}

.drop-zone-sub-three.invalid {
    border-color: red;
    background-color: #ffe5e5;
}


.multi-dropzone {
    border: 2px dashed #d3d3d3;
    border-radius: 8px;
    padding: 30px;
    text-align: center;
    position: relative;
    cursor: pointer;
    transition: border-color 0.3s ease;
}

.multi-dropzone:hover {
    border-color: #219346;
    background-color: #f8f9fa;
}

.multi-dropzone input[type="file"] {
    display: none;
}

.file-pills {
    display: flex;
    flex-wrap: wrap;
    margin-top: 15px;
    gap: 10px;
}

.file-pill {
    background-color: #219346; /* your specified color */
    color: #ffffff; /* white text for contrast */
    border: none;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.85rem;
    display: inline-flex;
    align-items: center;
}

.file-pill .remove-pill {
    margin-left: 8px;
    cursor: pointer;
    color: #ffffff;
    font-weight: bold;
}