*{
  margin:0;
  padding:0;
  box-sizing:border-box;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

/* Background */
body{
  height:100vh;
  background: linear-gradient(135deg, #0f172a, #1e293b);
  display:flex;
  justify-content:center;
  align-items:center;
}

.container{
  width:100%;
  padding:20px;
  text-align:center;
}

/* Header */
.header h1{
  color:#fff;
  font-size:28px;
  margin-bottom:5px;
}

.header p{
  color:#cbd5f5;
  font-size:14px;
  margin-bottom:30px;
}

/* Card */
.card{
  background: rgba(255,255,255,0.08);
  backdrop-filter: blur(12px);
  border-radius:16px;
  padding:30px 25px;
  max-width:350px;
  margin:auto;
  box-shadow:0 10px 30px rgba(0,0,0,0.3);
  color:#fff;
}

/* Card Text */
.card h2{
  margin-bottom:5px;
}

.subtitle{
    font-size:13px;
  color:#cbd5f5;
  margin-bottom:20px;
}

.step{
    display:none;
    animation:fade .4s ease;
}

.step.active{
    display:block;
}

@keyframes fade{
    from{
        opacity:0;
        transform:translateY(20px);
    }
    to{
        opacity:1;
        transform:translateY(0);
    }
}

.input-group{
  text-align:left;
  margin-bottom:15px;
}

.input-group label{
  font-size:13px;
  margin-bottom:5px;
  display:block;
  color:#e2e8f0;
}

/* Inputs */
.input-group input{
  width:100%;
  padding:10px;
  border-radius:8px;
  border:1px solid rgba(255,255,255,0.2);
  background: rgba(255,255,255,0.05);
  color:#fff;
  outline:none;
  transition:0.3s;
}

/* Input focus effect */
.input-group input:focus{
  border-color:#38bdf8;
  box-shadow:0 0 0 2px rgba(56,189,248,0.3);
}

button{
    width:100%;
    border:none;
    padding:14px;
    border-radius:12px;
    background:#667eea;
    color:#fff;
    font-size:16px;
    cursor:pointer;
    transition:.3s;
}

button:hover{
    background:#5669d6;
}

button:active{
    transform:scale(.98);
}

/*
*{
    margin:0;
    padding:0;
    box-sizing:border-box;
    font-family:Segoe UI, sans-serif;
}

body{
    min-height:100vh;
    display:flex;
    justify-content:center;
    align-items:center;
    background:linear-gradient(135deg,#667eea,#764ba2);
    padding:20px;
}

.container{
    width:100%;
    max-width:420px;
}

.card{
    background:#fff;
    padding:40px 30px;
    border-radius:20px;
    box-shadow:0 15px 40px rgba(0,0,0,.15);
}

.card h2{
    text-align:center;
    color:#333;
}

.subtitle{
    text-align:center;
    color:#777;
    margin-top:8px;
    margin-bottom:30px;
}

.step{
    display:none;
    animation:fade .4s ease;
}

.step.active{
    display:block;
}

@keyframes fade{
    from{
        opacity:0;
        transform:translateY(20px);
    }
    to{
        opacity:1;
        transform:translateY(0);
    }
}

.input-group{
    margin-bottom:20px;
}

.input-group label{
    display:block;
    margin-bottom:8px;
    color:#444;
    font-weight:600;
}

.input-group input{
    width:100%;
    padding:14px;
    border:1px solid #ddd;
    border-radius:12px;
    outline:none;
    font-size:15px;
    transition:.3s;
}

.input-group input:focus{
    border-color:#667eea;
    box-shadow:0 0 0 4px rgba(102,126,234,.15);
}

button{
    width:100%;
    border:none;
    padding:14px;
    border-radius:12px;
    background:#667eea;
    color:#fff;
    font-size:16px;
    cursor:pointer;
    transition:.3s;
}

button:hover{
    background:#5669d6;
}

button:active{
    transform:scale(.98);
}
*/

/*   TOAST NOTIFICATIONS */
#toast-container{
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.toast{
    min-width: 280px;
    max-width: 320px;
    padding: 14px 18px;
    border-radius: 16px;
    background: rgba(255,255,255,.95);
    backdrop-filter: blur(12px);
    box-shadow: 0 10px 30px rgba(0,0,0,.08);
    display: flex;
    align-items: center;
    gap: 12px;
    transform: translateX(120%);
    animation: slideIn .35s forwards;
    border: 1px solid rgba(255,255,255,.2);
}

.toast.success{
    border-left: 4px solid #22c55e;
}

.toast.error{
    border-left: 4px solid #ef4444;
}

.toast-icon{
    width: 34px;
    height: 34px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
    flex-shrink: 0;
}

.toast.success .toast-icon{
    background: rgba(34,197,94,.12);
    color: #16a34a;
}

.toast.error .toast-icon{
    background: rgba(239,68,68,.12);
    color: #dc2626;
}

.toast-content{
    flex: 1;
}

.toast-title{
    font-size: 14px;
    font-weight: 600;
    color: #111827;
    margin-bottom: 2px;
}

.toast-message{
    font-size: 13px;
    color: #6b7280;
}

@keyframes slideIn{
    to{
        transform: translateX(0);
    }
}

@keyframes slideOut{
    to{
        opacity: 0;
        transform: translateX(120%);
    }
}

@media(max-width:500px){
    #toast-container{
        left: 15px;
        right: 15px;
        top: 15px;
    }

    .toast{
        min-width: 100%;
        max-width: 100%;
    }
}


.password-wrapper{
    position: relative;
}

.password-wrapper input{
    width: 100%;
    padding-right: 45px;
}

.toggle-password{
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    color: #64748b;
    font-size: 18px;
}

.toggle-password:hover{
    color: #2563eb;
}
