* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: Poppins;
}

body {
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  background: linear-gradient(135deg, #667eea, #764ba2);
  padding: 20px;
    margin:0;
    height:100vh;
}


/* BASE */
body{
    margin:0;
    overflow-x:hidden;
}

/* BACKGROUND LAYER */
.bg{
    position:fixed;
    top:0;
    left:0;
    width:100%;
    height:100%;
    z-index:-2;

    background: linear-gradient(-45deg, #0f172a, #1e3a8a, #0ea5e9, #22c55e);
    background-size: 400% 400%;
    animation: gradientMove 12s ease infinite;
}

/* GRADIENT ANIMATION */
@keyframes gradientMove {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* FLOATING BLUR CIRCLES */
.bg::before,
.bg::after{
    content:"";
    position:absolute;
    width:300px;
    height:300px;
    background:rgba(255,255,255,0.15);
    border-radius:50%;
    filter: blur(80px);
    animation: float 10s infinite ease-in-out;
}

.bg::before{
    top:10%;
    left:15%;
    background:#22c55e;
}

.bg::after{
    bottom:10%;
    right:15%;
    background:#0ea5e9;
    animation-delay:2s;
}

/* FLOAT ANIMATION */
@keyframes float{
    0%{ transform:translateY(0px) scale(1); }
    50%{ transform:translateY(-40px) scale(1.2); }
    100%{ transform:translateY(0px) scale(1); }
}
.content
{
    position:relative;
    z-index:2;
    width:100%;
    max-width:700px;
    padding:20px;
}

.form-container {
  width: 100%;
  max-width: 650px;
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(20px);
  border-radius: 20px;
  padding: 30px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  animation: fadeUp 0.7s ease;
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* h1 {
  text-align: center;
  font-size: 30px;
  color: #FF6600;
  margin-bottom: 30px;
  font-family: 'times new roman', serif;
  
}

h2 {
  text-align: center;
  color: #fff;
  margin-bottom: 20px;
  font-family: 'times new roman', serif;
} */

.form-group {
  margin-bottom: 15px;
}

label {
  color: white;
  display: block;
  margin-bottom: 6px;
  font-weight: 500;
}

input,
select {
  width: 100%;
  padding: 12px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  background: rgba(255, 255, 255, 0.15);
  color: white;
  outline: none;
  transition: 0.3s;
}
/* SELECT FIELD FIX */
select {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;

  background: rgba(255, 255, 255, 0.15);
  color: #fff;
  cursor: pointer;
}

/* dropdown options */
select option {
  background: #1e293b; /* dark background */
  color: #fff; /* white text */
  padding: 10px;
}

/* focus effect */
select:focus {
  border: 2px solid #22c55e;
  box-shadow: 0 0 10px rgba(34, 197, 94, 0.3);
}

/* dropdown arrow custom */
.form-group {
  position: relative;
}

.form-group select {
  padding-right: 35px;
}

.form-group::after {
  
  position: absolute;
  right: 15px;
  top: 38px;
  color: white;
  pointer-events: none;
  font-size: 12px;
}
/* ONLY SELECT ARROW */
.select-wrapper{
    position:relative;
}

.select-wrapper::after{
    
    position:absolute;
    right:15px;
    top:50%;
    transform:translateY(-50%);
    color:white;
    pointer-events:none;
    font-size:12px;
}

input::placeholder {
  color: rgba(255, 255, 255, 0.7);
}

.row {
  display: flex;
  gap: 15px;
}

.row .form-group {
  flex: 1;
}

button {
  width: 100%;
  padding: 13px;
  border: none;
  border-radius: 10px;
  background: white;
  color: #2563eb;
  font-weight: 600;
  cursor: pointer;
  transition: 0.3s;
  position: relative;
  overflow: hidden;
}

button:hover {
  transform: translateY(-2px);
}

button.loading {
  cursor: wait;
}

button.loading .button-text {
  opacity: 0.5;
}

button .spinner {
  display: none;
  position: absolute;
  right: 18px;
  top: 50%;
  width: 18px;
  height: 18px;
  border: 2px solid rgba(37, 99, 235, 0.3);
  border-top-color: #2563eb;
  border-radius: 50%;
  transform: translateY(-50%);
  animation: spin 0.8s linear infinite;
}

button.loading .spinner {
  display: block;
}

@keyframes spin {
  to {
    transform: translateY(-50%) rotate(360deg);
  }
}

/* TOAST */
.toast {
  position: fixed;
  top: 20px;
  right: 20px;
  padding: 14px 18px;
  border-radius: 10px;
  color: white;
  font-weight: 500;
  opacity: 0;
  transform: translateY(-20px);
  transition: 0.3s;
  z-index: 999;
}

.toast.show {
  opacity: 1;
  transform: translateY(0);
}

.success {
  background: #22c55e;
}
.error {
  background: #ef4444;
}
.select-box {
  background: rgba(255, 255, 255, 0.15);
  padding: 12px;
  border-radius: 10px;
  cursor: pointer;
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.placeholder {
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 8px;
}

.options {
  display: none;
  margin-top: 10px;
}

.option {
  padding: 8px;
  margin: 5px 0;
  background: #1e293b;
  color: #fff;
  border-radius: 6px;
  cursor: pointer;
  transition: 0.2s;
}

.option:hover {
  background: #334155;
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 10px;
}

.chip {
  background: #22c55e;
  color: white;
  padding: 5px 10px;
  border-radius: 20px;
  font-size: 13px;
}
.multi-select{
    position:relative;
    width:100%;
}

.select-box{
    padding:12px;
    background:rgba(255,255,255,0.15);
    border:1px solid rgba(255,255,255,0.3);
    border-radius:10px;
    color:white;
    cursor:pointer;
}

.dropdown{
    position:absolute;
    top:110%;
    left:0;
    width:100%;
    background:#1e293b;
    border-radius:10px;
    overflow:hidden;
    z-index:10;
}

.item{
    padding:10px;
    color:white;
    cursor:pointer;
    transition:0.2s;
}

.item:hover{
    background:#334155;
}

.item.selected{
    background:#22c55e;
    color:white;
}

/* WRAPPER */
.custom-select{
    position:relative;
    width:100%;
    cursor:pointer;
}

/* BOX */
.select-box{
    display:flex;
    justify-content:space-between;
    align-items:center;
    padding:12px;
    border-radius:10px;
    background:rgba(255,255,255,0.15);
    border:1px solid rgba(255,255,255,0.3);
    color:white;
}

/* ARROW */
.arrow{
    transition:0.3s ease;
}

/* ROTATE */
.custom-select.active .arrow{
    transform:rotate(180deg);
}

/* DROPDOWN GLASS */
.dropdown{
    position:absolute;
    top:110%;
    left:0;
    width:100%;
    max-height:250px;

    background:#1e293b;
    border-radius:10px;
    overflow-y:auto;

    opacity:0;
    transform:translateY(-10px);
    visibility:hidden;
    transition:0.3s ease;

    z-index:10;
}

/* SHOW */
.custom-select.active .dropdown{
    opacity:1;
    transform:translateY(0);
    visibility:visible;
    display:block;
}

/* OPTIONS */
.option{
    padding:10px;
    color:white;
    transition:0.2s;
}

.option:hover{
    background:rgba(255,255,255,0.2);
}

.option.selected{
    background:#22c55e;
    color:white;
}
.footer {
  text-align: center;
  margin-top: 20px;
  color: white;
  font-family: 'times new roman', serif;
}

.admin-panel {
  width: 100%;
}

.admin-header {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 24px;
  text-align: center;
}

.admin-header-panel {
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  text-align: left;
}

.admin-subtitle {
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.95rem;
  margin: 0;
}

.admin-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: flex-end;
  margin-top: 0;
}

.button-link,
.logout-button,
.action-button {
  padding: 10px 18px;
  border-radius: 10px;
  border: none;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
}

.button-link {
  background: rgba(255, 255, 255, 0.12);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.25);
}

.logout-button,
.action-button {
  background: #ef4444;
  color: white;
}

.logout-button:hover,
.action-button:hover,
.button-link:hover {
  opacity: 0.9;
}

.message-box {
  padding: 16px;
  border-radius: 14px;
  margin-bottom: 20px;
}

.error-box {
  background: rgba(239, 68, 68, 0.15);
  color: #ffe3e3;
}

.info-box {
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
}

.table-wrapper {
  overflow-x: auto;
}

.admin-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 10px;
  min-width: 900px;
}

.admin-table th,
.admin-table td {
  padding: 14px 12px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  text-align: left;
  vertical-align: middle;
}

.admin-table th {
  background: rgba(255, 255, 255, 0.08);
}

.admin-table tr:nth-child(even) {
  background: rgba(255, 255, 255, 0.03);
}

@media (max-width: 800px) {
  .admin-actions {
    flex-direction: column;
    align-items: stretch;
  }
  .admin-table {
    min-width: 100%;
  }
  .admin-table th,
  .admin-table td {
    padding: 10px 8px;
  }
}

.header{
    display:flex;
    align-items:center;
    justify-content:center;
    gap:15px;
    margin-bottom:20px;
    text-align:left;
    flex-wrap:wrap;
}

/* logo */
.logo-container{
    display:flex;
    align-items:center;
}

.logo{
    max-width:80px;
    height:auto;
}

/* text */
.title{
    display:flex;
    flex-direction:column;
    align-items: center;
    gap:5px;
}
.title h1{
    font-size:24px;
    color:#fff;
    margin:0;
}

.title h2{
    font-size:20px;
    color:rgba(255,255,255,0.8);
    margin:0;
}

/* mobile responsive */
@media(max-width:600px){
    .header{
        flex-direction:column;
        text-align:center;
    }
    .title h1{
        font-size:14px;
    }
    .title h2{
        font-size:13px;
    }
     body{
        padding:5px;
    }

    .form-container{
        width:100%;
        max-width:100%;
        border-radius:15px;
        padding:10px;
    }
    .lbl{
        font-size:10px;
    }
    label{
        font-size:12px;
    }
    .footer{
        font-size:12px;
    }
}
@media(max-width:768px){

    body{
        padding:10px;
        align-items:flex-start;
    }

    .content{
        padding:0;
    }

    .form-container{
        max-width:100%;
        border-radius:25px;
        padding:20px 15px;
    }

    .row{
        flex-direction:column;
        gap:0;
    }
}