/* generic content box styles */
.generic_content_box {
    background-color: #fff;
    border-radius: 16px;
    padding: 20px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
    margin-bottom: 20px;
    position: relative;
    overflow: hidden;
}
.generic_content_box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
}
.generic_content_box.more_bottom_padding {
    padding-bottom: 30px; /* Add more padding at the bottom */
}
@media (max-width: 767px) {
    .generic_content_box {
        border-radius: 0px;
        padding: 15px;
        margin-bottom: 10px;
    }
    .generic_content_box.no_padding {
        padding: 0px;
    }
}

/* flexbox layout */
.content_container {
    display: flex;
    gap: 20px;
}
.content_col_left {
    width: 300px;
}
.content_col_left .content_box {
    background-color: #fff;
    border-radius: 16px;
    padding: 20px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    margin-bottom: 20px;
    position: relative;
    overflow: hidden;    
}
.content_col_right {
    flex: 1; /* Take up remaining space */
}
.content_col_right .content_box {
    background-color: #fff;
    border-radius: 16px;
    padding: 20px 30px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    margin-bottom: 20px;
    position: relative;
    overflow: hidden; 
}
.content_col_right .content_box.more_bottom_padding {
    padding-bottom: 30px; /* Add more padding at the bottom */
}

@media (max-width: 768px) {
    .content_container {
        flex-direction: column;
        gap: 10px;
        margin-left: -10px;
        margin-right: -10px;
    }
    .content_col_left {
        display: none; /* Hide left column on small screens */
        width: 100%;
        padding: 15px;
        border-radius: 0px;
    }
    .content_col_right {
        padding: 0px;
        border-radius: 0px;
    }
    .content_col_right .content_box {
        margin: 0;
        border-radius: 0px;
        padding: 15px;
        box-shadow: none;
    }
}

/* modern dialog styles */
.modern-dialog {
    position: relative;
    margin-top: 10px;
    margin-bottom: 10px;
    margin-left: auto;
    margin-right: auto;
    max-width: 500px;
    width: 100%;
    background: #ffffff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.12);
    font-family: 'SF Pro Display', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

.dialog-header {
    padding: 20px 24px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.dialog-header h1 {
    font-size: 1.2rem;
    font-weight: 600;
    color: #111;
    margin: 0;
}

.dialog-content {
    padding: 24px;
}

.item-title {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
    padding: 12px 16px;
    background: rgba(0, 0, 0, 0.02);
    border-radius: 12px;
}

.item-name {
    font-size: 1.1rem;
    font-weight: 500;
    color: #000;
}

.description-container p {
    font-size: 15px !important;
    line-height: 1.5em !important;
    color: #333 !important;
    margin-bottom: 16px;
}

.error-message {
    color: #ea4335;
    font-size: 14px;
    margin-top: 10px;
    margin-bottom: 10px;
}

.status-indicator {
    margin-top: 20px;
}

.status-badge {
    display: inline-flex;
    align-items: center;
    padding: 8px 12px;
    border-radius: 10px;
    font-size: 14px;
}

.status-badge svg {
    margin-right: 6px;
}

.status-badge.pending {
    background: rgba(255, 196, 0, 0.1);
    color: #d9a400;
}

.status-badge.available {
    background: rgba(0, 200, 83, 0.1);
    color: #00a352;
}
.status-badge.sold {
    background: rgba(234, 67, 53, 0.1);
    color: #ea4335;
}
.dialog-actions {
    display: flex;
    justify-content: flex-end;
    padding: 16px 24px;
    gap: 12px;
    border-top: 1px solid rgba(0, 0, 0, 0.06);
}

.btn-cancel {
    padding: 10px 24px;
    border-radius: 12px;
    font-size: 15px;
    font-weight: 500;
    background: rgba(0, 0, 0, 0.05);
    color: #333;
    border: none;
    cursor: pointer;
    transition: background 0.2s;
}

.btn-cancel:hover {
    background: rgba(0, 0, 0, 0.08);
}

.btn-confirm {
    display: flex;
    align-items: center;
    padding: 10px 24px;
    border-radius: 12px;
    font-size: 15px;
    font-weight: 500;
    background: #0066ff;
    color: white;
    border: none;
    cursor: pointer;
    transition: background 0.2s;
}

.btn-confirm:hover {
    background: #0052cc;
}

.btn-confirm svg {
    margin-left: 8px;
}

/* form styles */
.modern-textarea {
    width: 100%;
    padding: 14px 16px;
    border: 1.5px solid #e0e0e0;
    border-radius: 12px;
    background-color: #fafafa;
    font-family: inherit;
    font-size: 15px;
    line-height: 1.5;
    color: #333;
    resize: vertical;
    transition: all 0.3s ease;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.03);
}

.modern-textarea:focus {
    outline: none;
    border-color: #2563eb;
    background-color: #fff;
    box-shadow: 0 3px 10px rgba(37, 99, 235, 0.1);
}

.modern-textarea::placeholder {
    color: #a3a3a3;
    opacity: 1;
}

select.modern-select {
    width: 50%;
    padding: 12px 16px;
    font-size: 16px;
    border: 1px solid #e0e0e0;
    border-radius: 12px;
    background-color: #ffffff;
    color: #333333;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23555' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

select.modern-select:hover {
    border-color: #aaaaaa;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

select.modern-select:focus {
    outline: none;
    border-color: #4a90e2;
    box-shadow: 0 0 0 4px rgba(74, 144, 226, 0.15);
}

.modern-radio-option {
    margin: 10px 0;
    position: relative;
    padding-left: 28px;
}

.modern-radio-option input[type="radio"] {
    position: absolute;
    opacity: 0;
}

.modern-radio-option label {
    position: relative;
    cursor: pointer;
    padding: 5px 0;
    display: inline-block;
    transition: all 0.2s;
}

.modern-radio-option label:before {
    content: '';
    position: absolute;
    left: -28px;
    top: 5px;
    width: 20px;
    height: 20px;
    border: 2px solid #ccc;
    border-radius: 50%;
    background: #fff;
    transition: all 0.2s;
}

.modern-radio-option input[type="radio"]:checked+label:before {
    border-color: #2f85ff;
}

.modern-radio-option input[type="radio"]:checked+label:after {
    content: '';
    position: absolute;
    left: -23px;
    top: 10px;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #2f85ff;
}

.modern-radio-option label:hover {
    color: #2f85ff;
}