﻿#private-popup-container {
    background: white;
    border: 1px solid lightgray;
    border-radius: 38px;
    box-shadow: 0px 4px 15px rgba(0, 0, 0, 0.1);
    /*width: 300px;*/
    width: 80vw;
    max-height: 90vh;
    /*    overflow-y: auto;*/
    padding: 20px;
    position: fixed;
    text-align: start;
    margin: auto;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
    display: flex; /* Added */
    flex-direction: column; /* Added */
}

#private-popup-header {
    font-size: 20px;
    color: #333;
    /*    position: relative;*/
/*    top: -10px;*/
    padding-bottom: 10px; /* Added */
    border-bottom: 1px solid lightgray; /* Added */
}

#private-popup-close-button {
    font-size: 24px;
    color: #333;
    position: absolute;
    top: 8px;
    inset-inline-end: 20px;
    cursor: pointer;
}

#private-popup-content {
    overflow-y: auto;
/*    max-height: 90vh;*/
    max-height: 100%; /* Changed */
    flex-grow: 1; /* Added */
    /*max-height: 90vh;*/ /* 90% מגובה המסך */
    margin-top: 20px;
    padding-bottom: 10px;
}

#private-popup-input-box {
    width: 90%;
    padding: 10px;
    border-radius: 8px;
    border: 1px solid #ccc;
    font-size: 16px;
    margin-bottom: 20px;
}

#private-popup-input-password-box {
    width: 90%;
    padding: 10px;
    border-radius: 8px;
    border: 1px solid #ccc;
    font-size: 16px;
    margin-bottom: 20px;
}


.form-group label {
    width: fit-content;
}

.form-control {
    width: 90%;
    padding: 10px;
    border-radius: 8px;
    border: 1px solid #ccc;
    font-size: 16px;
    margin-bottom: 20px;
}

field-box {
    width: 90%;
    padding: 10px;
    border-radius: 8px;
    border: 1px solid #ccc;
    font-size: 16px;
    margin-bottom: 20px;
}
#private-popup-HTMLTextToDisplay {
    /*margin-bottom: 20px;*/
  
    padding: 10px;
}

#private-popup-ok-button {
    background: linear-gradient(to right, #fbc058, #f7a327);
    border: none;
    border-radius: 38px;
    padding: 10px 20px ;
    color: white;
    font-size: 18px;
    cursor: pointer;
    width: 100%;
}

    #private-popup-ok-button:hover, #private-popup-close-button:hover {
        opacity: 0.8;
    }

.alert {
    /* General styling for all alerts (you might already have this) */
    position: relative;
    padding: 0.75rem 1.25rem;
    margin-bottom: 1rem;
    border: 1px solid transparent;
    border-radius: 0.25rem;
}

.alert-error {
    /* Specific styling for error alerts */
    color: #721c24; /* Dark red text */
    background-color: #f8d7da; /* Light red background */
    border-color: #f5c6cb; /* Slightly darker red border */
}
/* Success alert specific styles */
.alert-success {
    color: #155724; /* Dark green text */
    background-color: #d4edda; /* Light green background */
    border-color: #c3e6cb; /* Slightly darker green border */
}
.private-popup-close-button-style {
    border: none;
    background: none;
    padding: 0;
    font-size: 1.5em; /* Adjust as needed */
    line-height: 1;
    cursor: pointer;
}