* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

body {
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    padding: 20px;
}

.forgot-container {
    width: 100%;
    max-width: 450px;
}

.forgot-card {
    background: white;
    padding: 40px;
    border-radius: 24px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
    text-align: center;
    animation: slideUp 0.8s ease-out;
}

@keyframes slideUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

.logo-small {
    width: 60px;
    height: 60px;
    background: #2196F3;
    color: white;
    font-size: 32px;
    font-weight: 700;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 16px;
    margin: 0 auto 20px;
    box-shadow: 0 8px 15px rgba(33, 150, 243, 0.3);
}

.card-header h2 {
    font-size: 28px;
    color: #333;
    margin-bottom: 8px;
}

.card-header p {
    color: #777;
    font-size: 14px;
    margin-bottom: 30px;
}

.input-group {
    text-align: left;
    margin-bottom: 25px;
}

.input-group label {
    display: block;
    font-size: 14px;
    font-weight: 500;
    color: #555;
    margin-bottom: 8px;
}

.input-wrapper {
    position: relative;
}

.input-wrapper i {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: #2196F3;
}

.input-wrapper input {
    width: 100%;
    padding: 12px 15px 12px 45px;
    border: 2px solid #E1E8EE;
    border-radius: 12px;
    outline: none;
    transition: all 0.3s;
    font-size: 15px;
}

.input-wrapper input:focus {
    border-color: #2196F3;
    box-shadow: 0 0 0 4px rgba(33, 150, 243, 0.1);
}

.error-msg {
    color: #F44336;
    font-size: 11px;
    margin-top: 5px;
    display: none;
    animation: shake 0.3s ease-in-out;
}

.error-msg.visible {
    display: block;
}

.input-wrapper.error input {
    border-color: #F44336;
    background-color: #FFF8F8;
}

.reset-btn {
    width: 100%;
    padding: 14px;
    background: #2196F3;
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    transition: all 0.3s;
    box-shadow: 0 5px 15px rgba(33, 150, 243, 0.3);
}

.reset-btn:hover {
    background: #1976D2;
    transform: translateY(-2px);
}

.success-message {
    display: none;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    color: #00C853;
    margin-top: 20px;
    animation: fadeIn 0.5s ease-out;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.success-message i {
    font-size: 40px;
}

.back-link {
    margin-top: 30px;
    font-size: 14px;
}

.back-link a {
    color: #2196F3;
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

@keyframes shake {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-5px); }
    75% { transform: translateX(5px); }
}
