* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

.sidebardashboard {
  z-index: 1000 !important;
}

body {
  overflow-x: hidden;
  position: relative;
}

button {
  cursor: pointer;
  transition: all 0.2s ease;
}

button:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.toast {
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  padding: 12px 24px;
  border-radius: 8px;
  z-index: 10001;
  animation: slideUp 0.3s ease;
}

.toast-success {
  background: #4caf50;
  color: white;
}

.toast-error {
  background: #f44336;
  color: white;
}

.toast-warning {
  background: #ff9800;
  color: white;
}

@keyframes slideUp {
  from {
    transform: translate(-50%, 100%);
    opacity: 0;
  }
  to {
    transform: translate(-50%, 0);
    opacity: 1;
  }
}

@media (max-width: 768px) {
  .sidebardashboard {
    width: 80%;
  }
  
  .fileupload {
    bottom: 20px;
    right: 20px;
    width: 50px;
    height: 50px;
    font-size: 24px;
  }
  
  #gallery-container {
    grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
    gap: 8px;overflow: auto;
    padding: 8px;
  }
}
body{
  height:80vh;
  background: white;
  color: black;
  font-family: sans-serif;
  font-size: 30px;
}
.profile-info {
  text-align: center;
  padding: 15px;
  cursor: pointer;
  transition: 0.3s;
}
.logo-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  background: var(--accent);
  color: #fff;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 12px;
  letter-spacing: 0.05em;
  border-radius: 8px;
}
.account-container {
  width: 85px;  
  border: 5px solid lightblue;
  height: 90px;
  border-radius: 50%;
  position: relative;     
  object-fit: cover;
  cursor: pointer;
  transition: 0.3s;
}

.account-container:hover {
  transform: scale(1.05);
  border-color: lightgreen;
}
#prof{
  width: 35px;  
  height: 35px;
  border-radius: 50%;
  position: relative;     
  right:0px;transition: 0.3s;
}

.selec{
  border: none;
  position: absolute;align-items: center;     
  object-fit: cover;right:0px;
  cursor: pointer;margin-right: 20px;
  transition: 0.3s;

}
.profile-info:hover {
  background: rgba(173, 216, 230, 0.2);
  border-radius: 15px;
}

#welcomename {
  background: rgba(0,0,0,0.7);
  padding: 12px 20px;
  border-radius: 25px;
  position: fixed;
  top: 70px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1000;
  text-align: center;
  backdrop-filter: blur(10px);
}
button{
  background: none;
  color: black;
  transition: 0.3s;
  box-shadow:0 4px 10px rgba(173, 216, 230, 0.4);
  border-radius: 15px;
}
#mark{
  font-size: 100px;
}
#nod{
  text-align: center;
  
}
.phone-access-buttons {
  display: flex;
  flex-direction: column;
  gap:2px;z-index: 1000;
  display: none;
  position: fixed;
  top: 0;left: 0;
  width: 100%;height: 100%;
  background: rgba(0,0,0,0.100);
  backdrop-filter: blur(2px);
}


.access-btn {
  background: #2c3e50;
  color: white;
  border: none;
  padding: 10px 14px;
  width: fit-content;
  border-radius: 25px;
  display: flex;
  align-items: center;
  gap: 5px;margin: 5px;
  font-size: 12px;
  transition:9s;
}
.iconfiles{
  display: flex;
  flex-direction: column;
  gap:2px;z-index: 1000;
  position: fixed;
  bottom:80px;
  right:90px;
}
.access-btn material-icons {
  font-size: 18px;
}
.sidepanel{
  float:left;
  min-height: 70vh;
  background-color:  white;
  display: flex;
  flex-direction: column;
  padding:10px;
  width:150px;
  position:fixed;
  display:none;
  z-index: 1;
  border-bottom-right-radius: 15px;
}
#iconprof{
  width:25px;
  height:25px;
  border-radius:50%;
}
.sidepanelsbtns{
  border:none;
  border-bottom:1px solid white;
  margin-bottom: 9px;
  background:none;
  height: 50px;
  color: black;
}
.sidepanelsbtns:hover{
  color:orange;
  font-weight:30px;
}
#sidebtnshow{
  background:none;
color:black;  
  border:none;
  font-size: 18px;
}
#active{
  width:100%;
  border-top-radius:20px;
}
#sidebtnhide{
 display: none;
background:none;
color:black; 
border:none;  
  font-size: 18px;
}
.acc{
  display: flex;
  position: fixed;
  justify-content:center; 
  bottom: 10px;
}
.sidebtnhide{
  background:none;position:absolute;
  color:black;border:none;
  font-size: 18px;right:5px;
}.success-message {
            background: green;
            color: white;
            padding: 15px;
            border-radius: 10px;
            text-align: center;
            margin-top: 20px;
            display: none;
            animation: fadeIn 1.3s ease;
        }
        @keyframes fadeIn {
            from { opacity: 0; transform: translateY(10px); }
            to { opacity: 1; transform: translateY(0); }
        }

.naminput{
  width:45%;
         border:2px dashed black ;
       background:none;
       height:40px;
        border-radius:15px;
        margin:10px;
        font-size:10px;

}
  #proimg{
    display: none;
  }
#settings{
  display:none;
}
        .spinner {
            display: none;
            width: 40px;
            height: 40px;
            border: 4px solid lightblue;
            border-top: 4px solid lightgreen;
            border-radius: 50%;
            animation: spin 1s linear infinite;
            margin: 20px auto;
          z-index: 10000;
        }

        @keyframes spin {
            0% { transform: rotate(0deg); }
            100% { transform: rotate(360deg); }
        }

.namediv{
  display: flex;
  flex-direction: row;
  justify-items: center;
}
  
.contload{
  border-radius:30px;
  border:1px solid black;
  width:100%;
  margin-top:10px;
  height:14px;
  overflow: auto;
  position:relative;
}
.clsbtn{
  position:absolute;
  top:15px;
  right:15px;
  border:none;
  font-size:20px;
}
.load{
  background:lightgreen;
  width:1%;
  height:14px; 
}
.thelegend{
  background: none;position:relative;
  width:90%;height:150px;box-shadow: 1px 0px 15px darkslategray;
  border-radius:15px;display:flex;
  flex-direction:column;text-align:left;
  align-items:left;justify-content:left;
  overflow: auto;padding:10px;
}
#ritch{
 font-size:30px; 
} body{
      width:100%;
        padding:10px;
height:100vh;   
        font-family:sans-sarif;
  font-size: 15px;
}
    .container{
      display:none;  
    }
    .logo-container{
       text-align:center; 
        font-size:10px;
    }
 .features{
    box-shadow:2px 1px 10px lightgreen ; 
     margin-bottom:10px;
     padding:20px;
     width:60%;
     height:70%;
     flex:1;
   transition: 1s;
 }   
.toggle-password{
  background:none;
  border:none;
}
  .featuresh{
    box-shadow:2px 1px 10px lightgreen ; 
     margin-bottom:10px;
     padding:30px;
     width:70%;
     height:auto;
    border-radius:9px;
    transition: 1s;

 }   
  .featuresh:hover{
    box-shadow: 2px 1px 16px darkslategray;
  }
    .features:hover{
      background: lavender;
        border-radius:20px;
transform:scale(1.1)        
    }
   .container-features{
       display:flex;
       gap:10px;
   } 
   @media (max-width: 600px){
  .container-features{
    flex-direction: column;
  }
}
         

#errorlogmes{
  position:fixed;background: wheat; 
  top:80%; left:50%; padding:30px;
  transform:translate(-50%,-50%);
  border-radius:20px; z-index:2000; 
  width:300px; text-align:center;
  display: none;transition: 4s;
}
@keyframes welcomem {
 from {transform:translateX(0%);opacity:0;}
  to{transform:translateX(10%);opacity: 1;}
  }
    .home-container .h1{
        text-align:center;
    }
    .headre b{
      font-size: 150%;
    }
 .headre{
   display: flex;
   width:100%;
   positon: fixed;
   padding-bottom: 10px;
   border-bottom:1px solid darkslategray;
   border-bottom-radius: 40px;
 }
    .continue-button{
     border-radius:20px;
background-color: lightgreen;
color:white;
width:50%;
height:50px;        
 font-size:20px;  
margin-bottom:30px;
      border:none;
    }
   .submit-button{
     border-radius:20px;
background-color: black;
color:white;
     font-weight: 1000;
     border:none;
width:50%;
height:50px;        
 font-size:20px;  
margin-bottom:30px;
    }

.messagearea{
  border-radius:15px;
  height:100px;
  margin:10px;
  outline: none;
  padding:10px;
}
.iconicbtn{
  background: none;
  border:none;
  font-size: 20px;
  
}
.area{
  display: flex;
  flex-direction: column;
  color: darkslategray;
  margin-top:70px;
}

    .loginbtn{
      border: 2px dashed black ;  
border-radius:21px;    
width:100px; 
height:40px;        
background:white;  
color:black;  
        margin-left:10px;
        top:5px;
float:right;
        
    }
    .registerbtn{
      border: 2px dashed white;  
border-radius:20px;    
width:150px;  
        top:5px;
float:right;
height:40px;        
background: black;  
color: white;        
    }
.registelogbtn{
          border: 2px dashed white;  
border-radius:20px;    
width:60%;  
top:5px;
height:40px;        
background: black;  
color: white;    
margin:10px;    

}
.fileupload{
        position:fixed;
       background:lightgreen; 
        border-radius:100%;
        font-size:40px;
        color:white;
        width:60px;     
      height:60px;
        bottom:60px;
        right:9px;
  transition: 3s;
      border:none;
    }
#clsdivfiles{
        position:fixed;
       background:lightgreen; 
        border-radius:100%;
        font-size:40px;
        color:white;
        width:60px;     
      height:60px;
        bottom:60px;
        right:9px;
  display: none;
  transition: 3s;
    }
 .madel{
        backdrop-filter: blur(15px);
         top:50%; left:50%; 
      transform:translate(-50%,-50%); 
      background:none; padding:30px; 
      border-radius:20px; z-index:2000;
      width: 300px;height:400px;
      display:column;border-radius:18px;
      position:fixed; ;align-content: center;
      margin-right:10px;margin-bottom:50px;   
display: none;   
 }
.buttoncancel{
         position:absolute;
    background:lightblue;
    height:30px;
    width:90px;
    border-radius:18px;
    border:none;
    bottom :30px;
    
    }
    .buttonsave{
         position:absolute;
    background: black ;
    height:30px;
    width:150px;
   border-radius:18px;
    border:none;
    bottom :30px;   
      color:white;
right:55%;
    }

.close-btn{
           position:absolute;  
    font-size:25px;    
    top:10px;
right:15px; 
    height:auto;
    width: 30px;
    border:none;
border-radius:100%;    
}
img{
  object-fit: fit;
}
    .account-container{
      width:85px;  
        border:5px solid blue;
        height:90px;
        border-radius:50%;
        position:relative;     
   object-fit: cover;
    }
    .profile-change-btn{
      position:absolute;
bottom:10px;   
right:5px;   
        border-radius:30%;
        font-size:1px;
        
    }
    #account{
                position:relative;     
justify-content:center;
        height:90vh;
        border-radius:18px;
        overflow:auto;
display:column;
  justify-content:center;
  justify-items:center;
    }
    .profil-edit{
        display:none;
        
    }
    .loginput{
        width:70%;border-radius: 15px;
        height:100%;
        border:none;
      outline: lightblue;
        font-size:15px;
    }
.passwordcont{
     border:2px solid black ;
       background:none;display: flex;
        width:90%;align-items: center;
  margin:10px;padding-top:5px;
        height:30px;padding-left:7px;
        border-radius:15px;
  
        
}
.p{
  font-weight: 500;
}
#emaildiv{
  display:none;
}
#usercont{
  display:none;
}
.loginbtnreg{
                 position:absolute;  
               border:2px dashed white;
       background: black;
        width:30%;
        height:30px;
        border-radius:15px;
        margin-left:10px;  
    color:white;
        bottom:50px;
    right:15%;

}
.signinbtn{
                 position:absolute;  
               border:2px dashed black ;
       background: white;
        width:30%;
        height:30px;
        border-radius:15px;
        margin-left:10px;  
    color: black;
        bottom:50px;
    left:15%;
}
.fgtbtn{

 position:absolute; bottom:85px; 
  background:none; border:none; 
  color:lightblue;cursor:pointer; 
margin-left:10px;right:15%;
}
.signinbtnreg{
  border:2px dashed black ;
  background: white;width: 100px;
  height:40px;border-radius:15px;
  color: black;float:right;
  text-align: center;margin:20px;
}
.enter{
  border:2px dashed white;
  background: black;
  width: 90%;
  margin-top: 50px;
  height:40px;
  border-radius:25px;
  color:white;
  justify-self: center;
}
.google-signup-btn {
    display: flex;
    border:1px dashed blue;
  width: 90%;
  margin-top: 50px;
  height:40px;
  margin-left: 10px;
  border-radius:10px;
    align-items: center;
    justify-content: center;
    gap: 12px;
    background: rgba(255, 255, 255, 0.08); /* Futuristic glass feel */
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 8px;
    color:blue;
    font-family: 'Segoe UI', sans-serif;
    font-weight: 600;
    padding: 12px 24px;
    cursor: pointer;
    transition: background 0.3s ease, transform 0.2s ease;
  }

  .google-signup-btn svg {
    width: 22px;
    height: 22px;
  }

  .google-signup-btn:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-1px);
  }

  .google-signup-btn:active {
    transform: translateY(1px);
  }
.google{
  text-align: center;
}
.registerbtnreg{
  
  border:2px dashed white;
  background: black;
  width: 100px;
  height:40px;
  border-radius:15px;
  margin:20px;
  color:white;
  float: left;
  text-align: center;
  
}
.btnreg{
                 position:absolute;  
               border:2px dashed black ;
       background: black;
        width:90%;
        height:33px;
        border-radius:15px;
        margin:10px;  
    color: white;
        bottom:40px;
  
    right:0px;
}
 .btnregsimple{
                 position:absolute;  
               border:2px dashed darkslategray;
       background: black;
        width:auto;
        height:30px;
        border-radius:15px;
        margin:10px;  
    color: white;
        bottom:1px;
     right:0px;
}
    .register{
  backdrop-filter: blur(15px);
      top:50%; left:50%; 
      transform:translate(-50%,-50%); 
      background:none; padding:30px; 
      border-radius:20px; z-index:2000;
      width: 330px;height:450px;
      display:column;border-radius:18px;
      position:fixed;align-content: center;
      margin-right:10px;margin-bottom:50px;          

    }.logincont{
      backdrop-filter: blur(15px);
         top:50%; left:50%; 
      transform:translate(-50%,-50%); 
      background:none; padding:30px; 
      border-radius:20px; z-index:2000;
      width: 300px;height:550px;
      display:column;border-radius:18px;
      position:fixed; ;align-content: center;
      margin-right:10px;
      margin-bottom:50px;          
  }
.logreg{
         display:flex;
     flex-direction:column;
  position:relative;
     align-content: center;
align-items:center;
     justify-content: center;
justify-items:center;
}

  .item {
  background: #222;
  border-radius: 12px;
  overflow: hidden;
  cursor: pointer;
  position: relative;
  border: 1px solid #333;
  transition: transform 0.2s, box-shadow 0.2s;
}

.item:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0,0,0,0.2);
}

.items {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  position: relative;
}

.items img, .items video {
  width: 100%;
  height: 140px;
  object-fit: cover;
  background: #1a1a1a;
}

.pdf-box {
  background: #2c3e50;
  text-align: center;
  width: 100%;
  height: 140px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.fileinfo {
  padding: 8px;
  margin: 0;
  font-size: 11px;
  white-space: nowrap;
  color:white;
  font-weight: 1000;
  overflow: hidden;
  text-overflow: ellipsis;
  background: rgba(0,0,0,0.5);
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
}

#gallery-container {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 12px;
  padding: 12px;
}

#viewer {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.95);
  z-index: 1000;
  justify-content: center;
  align-items: center;
  text-align:center;
}

.close {
  position: absolute;
  top: 20px;
  right: 30px;
  font-size: 20px;
  border:none;
  color: white;
  z-index: 1001;
  background: none;
  width: 25px;
  height: 25px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
} 
.text {
  position: absolute;
  top: 20px;
  right: 40%;
  font-size: 20px;
  cursor: pointer;
  color: white;
  z-index: 1001;
  width: auto;
  height: auto;
  display: flex;
  align-items: center;
  justify-content: center;
}

#content-area {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

#content-area img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
}

#content-area video {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
}

#content-area iframe {
  width: 100%;
  height: 100%;
  border: none;
}
#seletionIn{
  display:flex;
  position:fixed;
  width:100%;
  height:auto;
  background:none;
  bottom:1%;
}
.loadingamount{
  height:50px;
    width:50px;
    border-radius:50%;
    background: transpalent;
    position:absolute;
    display:flex;
    justify-content:center;
    text-align:center;
    border:6px dotted black ;
    border-top-color:transpalent;
    animation:load 8s linear infinite;
    left:3px;
}
@keyframes load {
    100% {
        transform: rotate(360deg);
    }}
.themebtn{
width:80%;
border:none;
text-align:left;   
margin:2px;
padding:10px;
        border-radius:20px;


}
.settingspan{
width:100%;
border:none;
text-align:left;   
margin:2px;
padding:10px;
border-radius:20px;

}
.setttings
{
  overflow:scroll;    
    width:100%;
    padding:1px;
    border-radius:20px;
    color:white;
  display:none;
}
.top-nav{
  display: flex;  width:100%;
  border-bottom:1px solid darkslategray;
  position:fixed;padding: 15px;
  top:0px;align-items: center;
  justify-content: space-between;
}
  .search-box input {
    width: 100%;
    padding: 10px 20px 11px 5px;
    border: 2px solid #e0e0e0;
    border-radius: 50px;
    font-size: 16px;font-weight: 1000;
    transition: all 0.3s;
  }

  .search-box input:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(102,126,234,0.1);
  }

  .search-box .material-icons {
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    color: #999;
  }

#menues{
  margin-top: 100px;
}

#theme{
  background: none;
    border-radius:20px;
overflow:auto;    
alighn-items:center;
}
.selection{
 color:black;
background:none;
margin:10px;
    border:none;
    font-size:10px;
}
.filter-btn{
  display: flex;background: rgba(173, 216, 230, 0.4);
  margin:5px;  box-shadow:4 4px 10px rgba(173, 216, 230, 0.4);
  border:none;justify-items: center;padding:0px 20px;
  font-size:10px;flex-direction:column;
}
#seletion{
  display:none;
  position:fixed;
  justify-items: center;
  height:auto;z-index: 1000;
  width:90px;
  border-radius:10px;
  background: rgba(0,0,0,0.150);
  backdrop-filter: blur(4px);
  flex-direction:column;
  box-shadow: 0px 1px 20px black;
}
.top-bar{
    display: flex;
  align-items: center;
  padding: 15px;
  border-bottom: 1px solid #2b2b2b;

}
.searchcont{
margin:1px;
    padding:10px 30px;
    border-radius:20px;
    color: black;
  font-weight: 1000; 
    display:flex;
    flex-direction:column;
    align-items:center;    
    position:relative;
}
.serch{
   border:none;
background:none;   
  
    display:flex;
    justify-content:center;
    align-items:center;   
    width:80%;
    height:35px;
    border-radius:20px;
    overflow:hidden;   
}
.search{
 border:none;
    outline:none;
    width:100%;
    height:100%;   
border-radius:20px;
    
}
.srchbtn{
    height:100%;
    border:none;
    background:none;
    color:lightblue;
}
    
.material-icons:hover{
   color:white; 
}
.opnsearchbtn{
      border:none;
    background:none;  
right:3px;    
    top:6px;
    position:absolute;
    color:lightblue;
   border-radius:100%;
    place-items:center;
    }

#FKEEPER{
      border-radius:50px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.divserch{
       float:left;
    position:relative;
       border:none;
background:none;   
  
    display:flex;
    flex-direction:column;
    align-items:center;    
    padding:2px;    
  width:80%;
    height:35px;
    border-radius:20px;
    overflow:hidden; 
margin:20px;    
  
}
    .changepas{
              box-shadow:2px 2px 30px darkslategray ;
height:90vh;
max-height:90vh;
overflow:scroll;    
margin:1px;
      display:column;
        align-items:center;
  padding:10px;
    border-radius:20px;
    color: black ;
        position:relative;
    display:none;

    }
    .btnsave{
           position:absolute;
  border:none;
        background:lightgreen;
        width:90%;
        border-radius:10px;
        height:30px;
        margin:9px;
        bottom:10px;
    }
  .btnsave:hover{
      box-shadow:3px 3px 40px lightblue;
    }
    .inputchange{
        border:2px solid darkslategray ;
        width:70%;
        height:40px;
        border-radius:10px;
        margin:9px;
        color:grey;
        background:none;  
        outline:none;
    }
    .profile-chng{
      width: 200px ;
       height:200px; 
        border:1px solid black;
        border-radius:50%;
   position:relative; 
      object-fit: cover;
}
.verifybtn{
    border:none;
    height:30px;
    background:violet;

}
.verify{
    background:lightblue;
    width:50%;
    height:auto;
    margin:10px;
    padding:10px;
    display:none;
    animation:msg 3s ease;
}
@keyframes msg {
 from {transform:translateY(100%);opacity:0;}
  to{transform:translateY(0%);opacity: 1;}
  }      
.grids{
  background:none;
  color:black;
  border:none;
 float: right; 
}.colum{
  display:none;
  background:none;
  color:black;
  border:none;
  float: right;
}
.settings{
  background:none;
  color:black;
  border:none;
  float: right;
}
#gallery-container{
  display: grid;
      grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap:5px;
    padding:10px;

}
.sidebardashboard{
  position:fixed;
  width:70%;height:100%;
  padding:15px;margin:0px;
  left:0%;top:0%;
  background: rgba(0,0,0,0.150);
  backdrop-filter: blur(10px);
  display: flex;
  flex-direction: column;
  border-top-right-radius: 15px;
  display: none;z-index: 999;
}
.sidebardashboard button{ 
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 120%;
  font-weight: 500;
  height:50px;
  color:white;
  border: none;
  box-shadow: none;
  margin-bottom: 5px;
  text-align: justify;
  
}
.sidebardashboard button:hover{
  background: wheat;
  border-radius:15px;
}
@media screen and (min-width: 600px) {
  #sidebardashboard { 
    display: block;
    width: 200px; 
    float: left;
    overflow: scroll;
  }
  #chevron{
    display: none;
  }
  #sectiondash {
    margin-left: 216px;
  }
}
#wel{
  font-size: 150%;
}
.upload-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.8);
  z-index: 10000;
  display: flex;
  justify-content: center;
  align-items: center;
}
#clsesBtn{
  display:none;
}
.upload-panel {
  background: white;
  width: 100%;
  padding: 20px;
  border-radius: 10px;
}
.drop-area {
  border: 2px dashed #ccc;
  padding: 40px;
  text-align: center;
  cursor: pointer;
  margin: 15px 0;
}
.drop-area.drag {
  border-color: #4caf50;
  background: #f0f0f0;
}
.progress-bar {
  width: 100%;
  height: 20px;
  background: #f0f0f0;
  border-radius: 10px;
  margin: 10px 0;
  overflow: hidden;
}
.progress-fill {
  width: 0%;
  height: 100%;
  background: #4caf50;
  transition: width 0.3s;
}
.file-list {
  max-height: 200px;
  overflow-y: auto;
  margin: 10px 0;
}
.file-item {
  padding: 8px;
  border-bottom: 1px solid #eee;
  font-size: 14px;
}
.auth-btn-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 15px;
  width: 90%;
  margin: 20px auto 10px auto;
}

.signinbtnreg-fixed, .registerbtnreg-fixed {
  flex: 1;
  height: 42px;
  border-radius: 15px;
  border: 2px dashed black;
  font-size: 14px;background: none;
  cursor: pointer;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: 0.3s ease;
}

.signinbtnreg-fixed {
  background: black;
  color: white;
  border-color: white;
}

.registerbtnreg-fixed {
  background: none;
  color: black;
  border-color: black;
}
/* Upload Progress Panel */
#upload-progress-panel {
  position: fixed;
  bottom: 20px;
  right: 20px;
  left: auto;
  width: 350px;
  background: white;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.2);
  z-index: 10000;
  display: none;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid #e0e0e0;
}

.upload-progress-container {
  padding: 15px;
}

.upload-progress-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
  font-weight: 600;
  color: #333;
}

.upload-progress-header .material-icons {
  color: #4caf50;
}

.close-progress-btn {
  margin-left: auto;
  background: none;
  border: none;
  cursor: pointer;
  font-size: 18px;
  color: #999;
  padding: 0 5px;
}

.upload-progress-bar-container {
  background: #f0f0f0;
  border-radius: 10px;
  height: 8px;
  overflow: hidden;
  margin-bottom: 8px;
}

.upload-progress-bar {
  background: linear-gradient(90deg, #4caf50, #8bc34a);
  height: 100%;
  width: 0%;
  transition: width 0.3s ease;
  border-radius: 10px;
}

.upload-progress-stats {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  color: #666;
  margin-bottom: 10px;
}

.current-file-progress {
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px solid #eee;
}

.file-progress-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
}

.file-progress-item .file-name {
  flex: 1;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  color: #555;
}

.file-progress-bar-container {
  width: 100px;
  background: #f0f0f0;
  border-radius: 5px;
  height: 4px;
  overflow: hidden;
}

.file-progress-bar {
  background: #4caf50;
  height: 100%;
  width: 0%;
  transition: width 0.2s ease;
}

.file-percent {
  min-width: 40px;
  text-align: right;
  color: #666;
  font-size: 10px;
}

@media (max-width: 600px) {
  #upload-progress-panel {
    width: calc(100% - 40px);
    left: 20px;
    right: 20px;
    bottom: 80px;
  }
}
/* Enhanced Filter Buttons */
.filter-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  background: rgba(128, 128, 128, 0.08);
  border: 1px solid rgba(128, 128, 128, 0.2);
  border-radius: 12px;
  padding: 8px 12px;
  min-width: 70px;
  cursor: pointer;
  transition: all 0.2s ease;
  font-size: 11px;
  font-weight: 500;
  color: #666;
}

.filter-btn:hover {
  background: rgba(76, 175, 80, 0.1);
  border-color: #4caf50;
  transform: translateY(-2px);
}

.filter-btn.active-filter {
  background: #4caf50;
  border-color: #4caf50;
  color: white;
  box-shadow: 0 4px 12px rgba(76, 175, 80, 0.3);
}

.filter-btn.active-filter .material-icons {
  color: white;
}

.filter-btn .material-icons {
  font-size: 20px;
  color: #666;
  transition: color 0.2s;
}

.filter-count {
  font-size: 9px;
  background: rgba(0, 0, 0, 0.1);
  border-radius: 10px;
  padding: 2px 6px;
  margin-top: 2px;
}

.active-filter .filter-count {
  background: rgba(255, 255, 255, 0.2);
  color: white;
}

/* Scroll container for filters on mobile */
.filter-buttons-container {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 5px;
  scrollbar-width: thin;
  -webkit-overflow-scrolling: touch;
}

.filter-buttons-container::-webkit-scrollbar {
  height: 3px;
}

.filter-buttons-container::-webkit-scrollbar-track {
  background: #f0f0f0;
  border-radius: 3px;
}

.filter-buttons-container::-webkit-scrollbar-thumb {
  background: #ccc;
  border-radius: 3px;
}

/* Dark mode support */
body.dark-mode .filter-btn {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.1);
  color: #aaa;
}

body.dark-mode .filter-btn .material-icons {
  color: #aaa;
}

body.dark-mode .filter-btn.active-filter {
  background: #4caf50;
  color: white;
}

body.dark-mode .filter-btn.active-filter .material-icons {
  color: white;
}

@media (max-width: 600px) {
  .filter-btn {
    min-width: 60px;
    padding: 6px 10px;
    font-size: 10px;
  }
  
  .filter-btn .material-icons {
    font-size: 18px;
  }
}