* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', sans-serif;
}

body {
    min-height: 100vh;
    background: linear-gradient(135deg, #9d50bb, #90bafc);
    display: flex;
    justify-content: center;
    align-items: center;
}

.container {
    width: 420px;
    background: #fff;
    border-radius: 15px;
    padding: 40px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    animation: fadeIn 0.5s ease-in;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-20px); }
    to { opacity: 1; transform: translateY(0); }
}

h2 {
    text-align: center;
    margin-bottom: 30px;
    color: #333;
    font-size: 24px;
}

h2 i {
    margin-right: 10px;
    color:#9d50bb;
}

.input-group {
    position: relative;
    margin-bottom: 25px;
}

.input-group input {
    width: 100%;
    padding: 12px 40px 12px 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 16px;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.input-group input:focus {
    outline: none;
    border-color: #9d50bb;
    box-shadow: 0 0 5px rgba(66, 3, 169, 0.3);
}

.input-group label {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: #666;
    pointer-events: none;
    transition: 0.3s ease;
}

.input-group label i {
    margin-right: 5px;
}

.input-group input:focus + label,
.input-group input:not(:placeholder-shown) + label {
    top: -10px;
    font-size: 12px;
    color: #9d50bb;
    background: #fff;
    padding: 0 5px;
}

.toggle-password {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    color: #666;
    transition: color 0.3s ease;
}

.toggle-password:hover {
    color:#9d50bb;
}

.options {
    display: flex;
    justify-content: space-between;
    margin-bottom: 20px;
}

.remember-me {
    display: flex;
    align-items: center;
    color: #666;
    font-size: 14px;
}

.remember-me input {
    margin-right: 5px;
}

button {
    width: 100%;
    padding: 12px;
    background: #9d50bb;
    border: none;
    border-radius: 5px;
    color: #fff;
    font-size: 16px;
    cursor: pointer;
    position: relative;
    transition: background 0.3s ease;
}

button:hover {
    background: #9d50bb;
}

button:disabled {
    background: #cccccc;
    cursor: not-allowed;
}

.loader {
    display: none;
    margin-left: 10px;
}

button.loading .btn-text {
    visibility: hidden;
}

button.loading .loader {
    display: inline-block;
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
}

.error {
    color: #ff0000;
    font-size: 14px;
    margin-top: 5px;
    display: none;
}

.social-login {
    margin-top: 25px;
    display: flex;
    flex-direction: column;
    gap: 15px;
    align-items: center;
}

.social-btn {
    width: 100%;
    padding: 12px;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 5px;
    color: #333;
    font-size: 16px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.social-btn i {
    margin-right: 10px;
}

#googleSignIn:hover {
    background: #4285f4;
    color: #fff;
    border-color: #4285f4;
}

#appleSignIn:hover {
    background: #000;
    color: #fff;
    border-color: #000;
}

.forgot-password {
    text-align: center;
    margin-top: 20px;
}

.forgot-password a {
    color: #666;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s ease;
}

.forgot-password a:hover {
    color:#9d50bb;
}

.signup {
    text-align: center;
    margin-top: 20px;
}

.signup-btn {
    display: inline-block;
    width: 100%;
    padding: 12px;
    background: #fff;
    border: 1px solid #9d50bb;
    border-radius: 5px;
    color: #9d50bb;
    font-size: 16px;
    text-decoration: none;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.signup-btn i {
    margin-right: 10px;
}

.signup-btn:hover {
    background: #9d50bb;
    color: #fff;
}

.custom-cursor {
    position: fixed;
    top: 0;
    left: 0;
    width: 20px;
    height: 20px;
    border: 2px solid white;
    border-radius: 50%;
    pointer-events: none;
    transition: transform 0.1s ease-out;
    z-index: 9999;
  }
  