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

body {
    background: #f5f5f5;
    min-height: 100vh;
    padding: 20px;
}

/* Navbar Styles */
.navbar {
    position: relative;
    display: flex;
    justify-content: flex-end;
    padding: 20px;
    background: #ffffff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.signin-btn {
    background: linear-gradient(to right, #667eea, #764ba2);
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.signin-btn:hover {
    background: linear-gradient(to right, #5a6dd1, #6a4298);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(118, 75, 162, 0.3);
}

/* Dropdown Container */
.dropdown-container {
    position: absolute;
    top: 100%;
    right: 20px;
    width: 350px;
    background: white;
    border-radius: 8px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
    z-index: 1000;
    display: none;
    overflow: hidden;
}

.navbar:hover .dropdown-container {
    display: block;
}

/* Login Dropdown Styles */
.login-dropdown {
    padding: 25px;
}

.login-header {
    margin-bottom: 25px;
    text-align: center;
}

.login-header h3 {
    color: #333;
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 8px;
}

.login-header p {
    color: #777;
    font-size: 14px;
}

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

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: #555;
    font-weight: 500;
    font-size: 14px;
}

.form-group input {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 14px;
    transition: all 0.3s;
}

.form-group input:focus {
    border-color: #764ba2;
    box-shadow: 0 0 0 3px rgba(118, 75, 162, 0.1);
    outline: none;
}

.login-button {
    width: 100%;
    padding: 12px;
    background: linear-gradient(to right, #667eea, #764ba2);
    color: white;
    border: none;
    border-radius: 5px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    margin-top: 10px;
}

.login-button:hover {
    background: linear-gradient(to right, #5a6dd1, #6a4298);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(118, 75, 162, 0.3);
}

.login-footer {
    margin-top: 20px;
    text-align: center;
    font-size: 14px;
    color: #777;
}

.login-footer a {
    color: #764ba2;
    text-decoration: none;
    font-weight: 500;
}

.login-footer a:hover {
    text-decoration: underline;
}

/* Forgot Password Modal */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.modal-content {
    background: white;
    border-radius: 10px;
    padding: 30px;
    width: 100%;
    max-width: 450px;
    position: relative;
    transform: translateY(50px);
    transition: transform 0.4s ease;
}

.modal-overlay.active .modal-content {
    transform: translateY(0);
}

.close-btn {
    position: absolute;
    top: 15px;
    right: 15px;
    background: transparent;
    border: none;
    font-size: 20px;
    color: #777;
    cursor: pointer;
    transition: color 0.3s;
}

.close-btn:hover {
    color: #764ba2;
}

.logo {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
}

.logo i {
    font-size: 28px;
    color: #764ba2;
    margin-right: 10px;
}

.logo h1 {
    font-size: 24px;
    color: #333;
    font-weight: 700;
}

.back-to-login {
    margin-top: 10px;
    text-align: center;
}

.back-to-login a {
    color: #764ba2;
    text-decoration: none;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
}

.back-to-login a:hover {
    text-decoration: underline;
}

.back-to-login a i {
    margin-right: 8px;
}

.success-message {
    color: #10b981;
    font-weight: 500;
    margin-top: 15px;
    text-align: center;
    display: none;
}