
body {
  font-family: -apple-system, BlinkMacSystemFont,
               "Segoe UI", Roboto,
               "Helvetica Neue", Arial,
               "Noto Sans", sans-serif;
}


.notify {
  position: fixed;
  top: 50px;
  right: 20px;
  min-width: 260px;
  padding: 14px 18px;
  border-radius: 6px;
  font-size: 16px;
  font-weight: bold;
  font-family: system-ui, sans-serif;
  box-shadow: 0 10px 25px rgba(0,0,0,.15);
  display: none;
  z-index: 9999999;
  text-align: center;
}

.notify.success { background:#e6f9f0; color:#1e7f55; border-left:4px solid #1e7f55; }
.notify.error   { background:#fdecea; color:#b42318; border-left:4px solid #b42318; }
.notify.info    { background:#eef4ff; color:#1d4ed8; border-left:4px solid #1d4ed8; }

.notify {
  animation: zoomIn .65s ease;
}

@keyframes zoomIn {
  from { transform: translate(-10%, -10%) scale(.9); opacity: 0; }
  to   { transform: translate(-10%, -10%) scale(1); opacity: 1; }
}


    .modal {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,.6);
    z-index: 1000;
}

.modal-content {
    background: #fff;
    max-width: 90%;
    margin: 8% auto;
    padding: 20px;
    border-radius: 8px;
    text-align: center;
}

.close {
    float: right;
    font-size: 24px;
    cursor: pointer;
}


.notificationview {
position: fixed;
top: 50%; 
left: 50%; 
transform: translate(-50%, -50%); 
background-color: #f8d7da;
color: #721c24;
padding: 15px 10px;
border: 1px solid #f5c6cb;
border-radius: 5px;
box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
display: none; 
z-index: 9999; 
}
.file-preview {margin-top: 20px;}
#preview-container img, #preview-container video, #preview-container #preview-container audio, #preview-container iframe {
max-width: 250px;
max-height: 250px;
display: block;
}
.error-message {
color: red;
font-size: 14px;
margin-top: 5px;
}
.percentage {
font-weight: bold;
font-size: 18px;
margin-top: 5px;
}
.buttons {
display: none;
margin-top: 20px;
}
.buttons button {
padding: 10px 20px;
margin: 5px;
font-size: 16px;
}
.cancel-btn {
background-color: #ff4d4d;
color: white;
border: none;
padding: 5px 10px;
cursor: pointer;
}
.cancel-btn:disabled {background-color: #ccc;}
a {cursor: pointer;}
.emoji {
font-size: 16px;
cursor: pointer;
margin: 5px;
}
.emoji-container {
display: none;
position: absolute;
background-color: white;
border: 1px solid #ccc;
z-index: 10;
padding: 10px;
width: 40vw;
box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.1);
}
.used-emojis {
margin-bottom: 10px;
}
.used-emojis span {
font-size: 20px;
}
@media (max-width: 900px){
.emoji-container {
width: 80vw;
}
}
.loader {
border: 8px solid #f3f3f3; 
border-top: 8px solid #3498db; 
border-radius: 50%;
width: 60px;
height: 60px;
animation: spin 1s linear infinite;
}
@keyframes spin {
0% { transform: rotate(0deg); }
100% { transform: rotate(360deg); }
}
.loader-containerlinear {
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 2px; 
background-color: #f3f3f3; 
z-index: 9999; 
}
.loaderlinear {
width: 0;
height: 100%;
background-color: #4caf50;
animation: grow 2s linear infinite;
}
@keyframes grow {
0% {width: 0;}
50% {width: 70%;}
100% {width: 100%;}
}
.video-container {
position: relative;
width: 100%;
max-height: 500px;
overflow: hidden;
}
.ad-container {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
background: rgba(0, 0, 0, 0.8);
display: none;
justify-content: center;
align-items: center;
z-index: 10;
}
.ad-container img,
.ad-container video {
max-width: 90%;
max-height: 90%;
}
.skip-ad {
position: absolute;
top: 10px;
right: 10px;
background: rgba(255, 255, 255, 0.9);
padding: 5px 10px;
cursor: pointer;
border-radius: 5px;
z-index: 15;
display: none;
}
textarea {
max-height: 200px; 
resize: none; 
overflow-y: auto;
}

#myModal {
display: none;
position: fixed;
z-index: 1000;
padding-top: 0px;
left: 0;
top: 0;
width: 98%;
max-width: 99%;
height: 100%;
background-color: rgba(0, 0, 0, 0.4);
}
.modal-content {
background-color: #fefefe;
margin: auto;
padding: 0;
border: 1px solid #888;
width:  98%;
max-height: 98%;
display: flex;
flex-direction: column;
}
.headert {
padding: 10px;
background-color: #ddd;
position: sticky;
top: 0;
z-index: 10;
text-align: right;
}
.close {text-align: right;}
.content {
padding: 20px;
overflow-y: auto;
flex-grow: 1;
}
.article {
margin: 10px 0;
padding: 10px;
border: 1px solid #ddd;
}
#loadert {
text-align: center;
padding: 10px;
display: none;
}
</style><style>
#dropzone{
  border:2px dashed #bbb;
  padding:30px;
  text-align:center;
  cursor:pointer;
  margin-bottom:20px;
}
#preview{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
}
.cardh{
  position:relative;
  width:140px;
  cursor:grab;
}
.cardp{
  width:100%;
}
.cardh.dragging{opacity:0.5;}
.cardh img{
  width:140px;
  height:140px;
  object-fit:cover;
  border-radius:8px;
  transition: filter 0.3s;
}
.cardh img.blur{filter: blur(10px);}
.progress{
  height:6px;
  background:#eee;
  margin-top:5px;
}
.bar{
  height:6px;
  width:0%;
  background:#4caf50;
}
.remove{
  position:absolute;
  top:4px;
  right:4px;
  background:red;
  color:#fff;
  border:none;
  cursor:pointer;
}