 :root {
     --primary-blue: #1a6dff;
     --primary-dark-blue: #0d5bcc;
     --secondary-blue: #3498ff;
     --light-blue: #e8f4ff;
     --success-green: #10b981;
     --warning-orange: #f59e0b;
     --danger-red: #ef4444;
     --text-dark: #2c3e50;
     --text-light: #7f8c8d;
 }

 * {
     margin: 0;
     padding: 0;
     box-sizing: border-box;
     font-family: 'Poppins', sans-serif;
 }

 body {
     min-height: 100vh;
     background: linear-gradient(135deg, #1a6dff 0%, #0d5bcc 100%);
     display: flex;
     align-items: center;
     justify-content: center;
     padding: 20px;
     position: relative;
     overflow-x: hidden;
 }

 /* Animated Background */
 .bg-animation {
     position: fixed;
     top: 0;
     left: 0;
     width: 100%;
     height: 100%;
     z-index: -1;
     overflow: hidden;
 }

 .bg-circle {
     position: absolute;
     border-radius: 50%;
     background: rgba(255, 255, 255, 0.1);
     animation: float 20s infinite linear;
 }

 .bg-circle:nth-child(1) {
     width: 100px;
     height: 100px;
     top: 20%;
     left: 10%;
     animation-delay: 0s;
 }

 .bg-circle:nth-child(2) {
     width: 150px;
     height: 150px;
     top: 60%;
     left: 80%;
     animation-delay: 5s;
     animation-duration: 25s;
 }

 .bg-circle:nth-child(3) {
     width: 80px;
     height: 80px;
     top: 80%;
     left: 20%;
     animation-delay: 10s;
     animation-duration: 30s;
 }

 .bg-circle:nth-child(4) {
     width: 120px;
     height: 120px;
     top: 30%;
     left: 70%;
     animation-delay: 15s;
 }

 @keyframes float {
     0% {
         transform: translateY(0) rotate(0deg);
         opacity: 0.5;
     }

     50% {
         transform: translateY(-100px) rotate(180deg);
         opacity: 0.8;
     }

     100% {
         transform: translateY(0) rotate(360deg);
         opacity: 0.5;
     }
 }

 /* Reset Container */
 .reset-container {
     width: 100%;
     max-width: 500px;
     animation: slideUp 0.6s ease-out;
 }

 @keyframes slideUp {
     from {
         opacity: 0;
         transform: translateY(30px);
     }

     to {
         opacity: 1;
         transform: translateY(0);
     }
 }

 /* Reset Card */
 .reset-card {
     background: rgba(255, 255, 255, 0.95);
     backdrop-filter: blur(10px);
     border-radius: 24px;
     padding: 40px;
     box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
     border: 1px solid rgba(255, 255, 255, 0.2);
     position: relative;
     overflow: hidden;
 }

 .reset-card::before {
     content: '';
     position: absolute;
     top: 0;
     left: 0;
     right: 0;
     height: 6px;
     background: linear-gradient(to right, var(--primary-blue), var(--secondary-blue));
 }

 /* Logo Section */
 .logo-section {
     text-align: center;
     margin-bottom: 30px;
 }

 .logo-circle {
     width: 80px;
     height: 80px;
     background: linear-gradient(135deg, var(--primary-blue), var(--secondary-blue));
     border-radius: 50%;
     display: flex;
     align-items: center;
     justify-content: center;
     margin: 0 auto 20px;
     box-shadow: 0 10px 20px rgba(26, 109, 255, 0.3);
 }

 .logo-icon {
     font-size: 2.5rem;
     color: white;
 }

 .logo-text {
     font-size: 1.8rem;
     font-weight: 800;
     background: linear-gradient(to right, var(--primary-blue), var(--primary-dark-blue));
     -webkit-background-clip: text;
     -webkit-text-fill-color: transparent;
     margin-bottom: 5px;
 }

 .logo-subtext {
     font-size: 1rem;
     color: var(--text-light);
     font-weight: 500;
 }

 /* Back Button */
 .back-button {
     position: absolute;
     top: 20px;
     left: 20px;
     background: var(--light-blue);
     border: none;
     width: 40px;
     height: 40px;
     border-radius: 10px;
     display: flex;
     align-items: center;
     justify-content: center;
     color: var(--primary-blue);
     font-size: 1.2rem;
     cursor: pointer;
     transition: all 0.3s ease;
     text-decoration: none;
 }

 .back-button:hover {
     background: var(--primary-blue);
     color: white;
     transform: translateX(-3px);
 }

 /* Form Header */
 .form-header {
     text-align: center;
     margin-bottom: 30px;
 }

 .form-title {
     font-size: 1.8rem;
     font-weight: 700;
     color: var(--text-dark);
     margin-bottom: 10px;
 }

 .form-subtitle {
     color: var(--text-light);
     font-size: 1rem;
     line-height: 1.5;
 }

 /* Form Styles */
 .form-label {
     font-weight: 600;
     color: var(--text-dark);
     font-size: 0.95rem;
     margin-bottom: 8px;
     display: flex;
     align-items: center;
     gap: 8px;
 }

 .form-label i {
     color: var(--primary-blue);
 }

 .input-group {
     position: relative;
     margin-bottom: 25px;
 }

 .form-control {
     padding: 15px 45px 15px 15px;
     border-radius: 12px;
     border: 2px solid #e1e5e9;
     font-size: 1rem;
     transition: all 0.3s ease;
     background: white;
 }

 .form-control:focus {
     border-color: var(--primary-blue);
     box-shadow: 0 0 0 3px rgba(26, 109, 255, 0.1);
     outline: none;
 }

 .input-icon {
     position: absolute;
     right: 15px;
     top: 50%;
     transform: translateY(-50%);
     color: var(--text-light);
     font-size: 1.2rem;
 }

 /* Submit Button */
 .btn-submit {
     background: linear-gradient(to right, var(--primary-blue), var(--secondary-blue));
     color: white;
     border: none;
     padding: 16px;
     border-radius: 12px;
     font-weight: 700;
     font-size: 1.1rem;
     width: 100%;
     cursor: pointer;
     transition: all 0.3s ease;
     position: relative;
     overflow: hidden;
     margin-top: 10px;
 }

 .btn-submit:hover {
     transform: translateY(-2px);
     box-shadow: 0 10px 25px rgba(26, 109, 255, 0.3);
 }

 .btn-submit:active {
     transform: translateY(0);
 }

 .btn-submit i {
     margin-right: 10px;
 }

 /* Message Styles */
 .success-message {
     background: #d1fae5;
     border: 1px solid #a7f3d0;
     color: #065f46;
     padding: 20px;
     border-radius: 12px;
     margin-bottom: 25px;
     display: flex;
     flex-direction: column;
     align-items: center;
     text-align: center;
     animation: fadeIn 0.5s ease;
 }

 .error-message {
     background: #fee2e2;
     border: 1px solid #fecaca;
     color: #dc2626;
     padding: 15px;
     border-radius: 12px;
     margin-bottom: 25px;
     display: flex;
     align-items: center;
     gap: 12px;
     animation: shake 0.5s ease;
 }

 @keyframes shake {

     0%,
     100% {
         transform: translateX(0);
     }

     25% {
         transform: translateX(-5px);
     }

     75% {
         transform: translateX(5px);
     }
 }

 @keyframes fadeIn {
     from {
         opacity: 0;
         transform: translateY(-10px);
     }

     to {
         opacity: 1;
         transform: translateY(0);
     }
 }

 .success-icon {
     width: 60px;
     height: 60px;
     background: #10b981;
     border-radius: 50%;
     display: flex;
     align-items: center;
     justify-content: center;
     margin-bottom: 15px;
     animation: scaleIn 0.5s ease;
 }

 @keyframes scaleIn {
     from {
         transform: scale(0);
     }

     to {
         transform: scale(1);
     }
 }

 .success-icon i {
     font-size: 1.8rem;
     color: white;
 }

 /* Reset Link Display */
 .reset-link-container {
     background: var(--light-blue);
     border-radius: 12px;
     padding: 20px;
     margin-top: 20px;
     border-left: 4px solid var(--primary-blue);
 }

 .link-label {
     font-weight: 600;
     color: var(--text-dark);
     margin-bottom: 10px;
     display: flex;
     align-items: center;
     gap: 8px;
 }

 .reset-link {
     background: white;
     border: 1px solid #e1e5e9;
     border-radius: 8px;
     padding: 12px;
     font-family: monospace;
     font-size: 0.9rem;
     word-break: break-all;
     margin: 10px 0;
     color: var(--primary-blue);
     text-decoration: none;
     display: block;
     transition: all 0.3s ease;
 }

 .reset-link:hover {
     background: #f8f9fa;
     border-color: var(--primary-blue);
 }

 .copy-btn {
     background: var(--primary-blue);
     color: white;
     border: none;
     padding: 8px 16px;
     border-radius: 8px;
     font-size: 0.9rem;
     cursor: pointer;
     transition: all 0.3s ease;
     display: flex;
     align-items: center;
     gap: 6px;
     margin-top: 10px;
 }

 .copy-btn:hover {
     background: var(--primary-dark-blue);
     transform: translateY(-2px);
 }

 /* Info Box */
 .info-box {
     background: #f8f9fa;
     border-radius: 12px;
     padding: 15px;
     margin-top: 25px;
     border-left: 4px solid var(--warning-orange);
 }

 .info-title {
     font-weight: 600;
     color: var(--text-dark);
     margin-bottom: 8px;
     display: flex;
     align-items: center;
     gap: 8px;
 }

 .info-text {
     font-size: 0.9rem;
     color: var(--text-light);
     line-height: 1.5;
 }

 /* Footer */
 .reset-footer {
     text-align: center;
     margin-top: 30px;
     padding-top: 20px;
     border-top: 1px solid #e1e5e9;
     color: var(--text-light);
     font-size: 0.9rem;
 }

 /* Loading State */
 .loading {
     display: inline-block;
     width: 20px;
     height: 20px;
     border: 3px solid rgba(255, 255, 255, 0.3);
     border-radius: 50%;
     border-top-color: white;
     animation: spin 1s ease-in-out infinite;
     margin-right: 10px;
 }

 @keyframes spin {
     to {
         transform: rotate(360deg);
     }
 }

 /* Responsive Design */
 @media (max-width: 768px) {
     .reset-card {
         padding: 30px 20px;
         margin: 0 10px;
     }

     .logo-circle {
         width: 70px;
         height: 70px;
     }

     .logo-icon {
         font-size: 2rem;
     }

     .logo-text {
         font-size: 1.5rem;
     }

     .form-title {
         font-size: 1.5rem;
     }
 }

 @media (max-width: 480px) {
     .form-control {
         padding: 12px 40px 12px 12px;
     }

     .btn-submit {
         padding: 14px;
     }

     .success-message,
     .error-message {
         padding: 15px;
     }
 }

 /* Dark Mode Support */
 @media (prefers-color-scheme: dark) {
     .reset-card {
         background: rgba(30, 30, 40, 0.95);
         color: #e0e0e0;
     }

     .form-label {
         color: #e0e0e0;
     }

     .form-control {
         background: #2d2d3d;
         border-color: #3d3d4d;
         color: #e0e0e0;
     }

     .form-control:focus {
         border-color: var(--primary-blue);
         background: #2d2d3d;
         color: #e0e0e0;
     }

     .input-icon {
         color: #a0a0b0;
     }

     .success-message {
         background: #064e3b;
         border-color: #047857;
         color: #a7f3d0;
     }

     .error-message {
         background: #7f1d1d;
         border-color: #991b1b;
         color: #fecaca;
     }

     .reset-link-container {
         background: #1e293b;
     }

     .reset-link {
         background: #2d2d3d;
         border-color: #3d3d4d;
         color: var(--secondary-blue);
     }

     .info-box {
         background: #1e293b;
     }

     .info-title {
         color: #e0e0e0;
     }

     .reset-footer {
         color: #a0a0b0;
         border-top-color: #3d3d4d;
     }
 }
