
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Poppins", system-ui, sans-serif;
}

body {
    min-height: 100vh;
    background:
        radial-gradient(circle at top right, #8b5cf6, transparent 40%),
        radial-gradient(circle at bottom left, #6366f1, transparent 40%),
        linear-gradient(135deg, #0f172a, #020617);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}


.form-card {
    width: 100%;
    max-width: 440px;
    padding: 38px 34px;
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.92);
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
    box-shadow:
        0 30px 70px rgba(0, 0, 0, 0.45),
        inset 0 1px 0 rgba(255, 255, 255, 0.6);
    animation: cardEnter 0.9s ease;
    position: relative;
}

.form-card::before {
    content: "";
    position: absolute;
    inset: -1px;
    border-radius: 25px;
    background: linear-gradient(120deg, #53535a, #7e7495, #0a292e);
    z-index: -1;
    filter: blur(12px);
    opacity: 0.7;
}


.logo-box {
    width: 78px;
    height: 78px;
    margin: 0 auto 18px;
    border-radius: 50%;
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow:
        0 15px 35px rgba(99, 102, 241, 0.6),
        inset 0 2px 6px rgba(255, 255, 255, 0.4);
}

.logo-box span {
    color: #fff;
    font-size: 24px;
    font-weight: 800;
    letter-spacing: 1.5px;
}


.form-title {
    text-align: center;
    font-size: 26px;
    font-weight: 700;
    color: #020617;
    margin-bottom: 30px;
}

.form-title span {
    display: block;
    font-size: 13px;
    font-weight: 500;
    color: #37373c;
    margin-top: 6px;
    letter-spacing: 0.6px;
}

.form-title::after {
    content: "";
    display: block;
    width: 48px;
    height: 4px;
    margin: 16px auto 0;
    border-radius: 6px;
    background: linear-gradient(90deg, #6366f1, #8b5cf6);
}

/* ===========================
   FORM GROUP
=========================== */
.form-group {
    margin-bottom: 18px;
}

.form-group label {
    display: block;
    margin-bottom: 6px;
    font-size: 13px;
    font-weight: 500;
    color: #334155;
}


.form-group input,
.form-group select {
    width: 100%;
    padding: 13px 15px;
    border-radius: 12px;
    border: 1px solid #c7d2fe;
    background: #f8fafc;
    font-size: 14px;
    transition: all 0.25s ease;
}


.form-group input:focus,
.form-group select:focus {
    outline: none;
    background: #ffffff;
    border-color: #6366f1;
    box-shadow:
        0 0 0 4px rgba(99, 102, 241, 0.18),
        0 8px 20px rgba(99, 102, 241, 0.25);
    transform: translateY(-1px);
}

button {
    width: 100%;
    padding: 15px;
    border-radius: 16px;
    border: none;
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    color: #ffffff;
    font-size: 15px;
    font-weight: 600;
    letter-spacing: 0.5px;
    cursor: pointer;
    margin-top: 22px;
    box-shadow: 0 15px 35px rgba(99, 102, 241, 0.45);
    transition: all 0.2s ease;
}

button:hover {
    transform: translateY(-3px);
    box-shadow: 0 20px 45px rgba(139, 92, 246, 0.6);
}

button:active {
    transform: scale(0.96);
}


.success-box {
    background: linear-gradient(135deg, #ecfdf5, #d1fae5);
    border: 1px solid #6ee7b7;
    padding: 16px;
    border-radius: 14px;
    margin-bottom: 18px;
    text-align: center;
    animation: fadeIn 0.5s ease;
}

.success-box h3 {
    font-size: 15px;
    color: #065f46;
    margin-bottom: 4px;
}

.success-box p {
    font-size: 13px;
    color: #047857;
}

@keyframes cardEnter {
    from {
        opacity: 0;
        transform: translateY(40px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}


/* Large screens (default already handled) */

/* Tablets */
@media (max-width: 768px) {
  .form-card {
    width: 90%;
    padding: 32px;
  }
}

/* Mobile phones */
@media (max-width: 480px) {
  .form-card {
    width: 95%;
    padding: 24px;
    border-radius: 18px;
  }

  .form-title {
    font-size: 22px;
  }

  input, select, button {
    font-size: 14px;
  }
}
.success-box {
  background: #ecfdf5;
  border-left: 5px solid #10b981;
  padding: 15px;
  border-radius: 10px;
  margin-bottom: 20px;
  color: #065f46;
}

/* Message container */
.info-box,
.success-box {
    width: 100%;
    box-sizing: border-box;
    padding: 16px 18px;
    border-radius: 12px;
    margin-bottom: 22px;
    text-align: left;
    animation: fadeIn 0.4s ease-in-out;
}

/* Duplicate info style */
.info-box {
    background: #eef4ff;
    border-left: 5px solid #4f7cff;
    color: #1f2a44;
}

/* Success style */
.success-box {
    background: #eafaf1;
    border-left: 5px solid #2ecc71;
    color: #1e4620;
}

/* Header row */
.info-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 6px;
    font-size: 15px;
}

/* Check icon */
.info-header .check {
    background: #2ecc71;
    color: #fff;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
}





