.file-upload {
    width: 95%;
    margin: 10px 0;
    text-align: left;
    color: white;
}

.file-upload label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
}

.file-input-container {
    position: relative;
    width: 100%;
    background-color: white;
    border-radius: 5px;
    overflow: hidden;
    margin-bottom: 10px;
}

.file-upload input[type="file"] {
    display: block;
    width: 100%;
    padding: 8px;
    background-color: white;
    color: #333;
    border: none;
    border-radius: 5px;
    z-index: 1;
    position: relative;
}

/* Image preview styles */
#imagePreviewContainer {
    display: none;
    background-color: rgba(255, 255, 255, 0.95);
    border-radius: 0 0 5px 5px;
    padding: 10px;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    
}

#imagePreview {
    max-width: 100%;
    max-height: 200px;
   
    
}

.remove-image-btn {
    position: absolute;
    top: 5px;
    right: 5px;
    background-color: #ff3b30;
    color: white;
    border: none;
    width: 25px;
    height: 25px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.2s ease;
    padding: 0;
    line-height: 1;
}

.remove-image-btn:hover {
    background-color: #d9342b;
}

.file-input-container.has-image input[type="file"] {
    
    border-radius: 5px 5px 0 0;
}

.current-image {
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 5px;
    padding: 10px;
    margin-top: 10px;
    text-align: center;
}

.current-image label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
}

.remove-image-checkbox {
    margin-top: 10px;
    color: white;
}

.remove-image-checkbox label {
    display: inline-flex;
    align-items: center;
    cursor: pointer;
}

.remove-image-checkbox input {
    margin-right: 5px;
}

.form-buttons {
    display: flex;
    justify-content: space-between;
    width: 100%;
    margin-top: 10px;
}

.cancel-btn {
    background-color: #6c757d;
    color: white;
    padding: 8px 15px;
    border-radius: 5px;
    text-decoration: none;
    display: inline-block;
    font-size: 16px;
    transition: background-color 0.2s ease;
}

.cancel-btn:hover {
    background-color: #5a6268;
    transform: scale(1.05);
}

.title-input {
    width: 95%;
    padding: 10px;
    margin-top: 25px;
    margin-bottom: 20px;
    border-radius: 5px;
    border: 1px solid #ccc;
    font-size: 18px;
    font-weight: bold;
}

.cooldown-alert {
    color: white;
    background-color: rgba(255, 59, 48, 0.2);
    border-radius: 5px;
    padding: 15px;
    text-align: center;
    width: 90%;
}

.cooldown-alert p {
    margin: 5px 0;
}

#countdown {
    font-weight: bold;
    font-size: 20px;
    color: #ff3b30;
}
.login-alert{
    color: white;
    background-color: rgba(255, 59, 48, 0.2);
    border-radius: 5px;
    padding: 15px;
    text-align: center;
    width: 90%;
}
.login-alert a{
    color: #ff0b0b;
    text-decoration: none;
    font-weight: bold;
}
.session-limit-alert{
    color: white;
    background-color: rgba(255, 59, 48, 0.2);
    border-radius: 5px;
    padding: 15px;
    text-align: center;
    width: 90%;
}
.session-limit-alert a{
    color: #ff0b0b;
    text-decoration: none;
    font-weight: bold;
}