body
{
    background-color: black;
}
nav {
  background-color: rgba(0, 0, 0, 0.9);
  color: #fff;
  font-weight: 700;
  padding: 15px 0;
  transition: all var(--transition-speed) ease;
  backdrop-filter: blur(10px);
}
.navbar-brand {
  color: #fff;
  font-size: 1.5rem;
  display: flex;
  align-items: center;
}
.navbar-brand:hover {
  color: #fff;

}
.auth-modal-container {
    max-width: 410px;
    margin: 40px auto;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    padding: 30px 25px;
}

.auth-modal-logo {
    text-align: center;
    margin-bottom: 25px;
}

.auth-modal-logo img {
    max-width: 120px;
}

.auth-modal-body {
    width: 100%;
}

.auth-modal-form {
    display: flex;
    flex-direction: column;
}

.auth-modal-form.auth-form-active {
    display: flex;
}

.auth-form-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: #222;
    margin-bottom: 20px;
    text-align: center;
}

.auth-input-group {
    position: relative;
    margin-bottom: 20px;
}

.auth-form-input {
    width: 350px;
    padding: 12px 40px 12px 12px;
    font-size: 1rem;
    border: 1.8px solid #ccc;
    border-radius: 6px;
    transition: border-color 0.3s ease;
}

.auth-form-input:focus {
    outline: none;
    border-color: #0056b3;
    box-shadow: 0 0 5px rgba(0, 86, 179, 0.5);
}

.auth-input-icon {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: #999;
    font-size: 1.1rem;
}

.auth-submit-btn {
    background: #0056b3;
    color: black;
    border: none;
    border-radius: 6px;
    padding: 12px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    transition: background-color 0.3s ease;
}

.auth-submit-btn:hover {
    background: #003f7f;
}

.auth-btn-layer {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.15);
    pointer-events: none;
}

.auth-btn-text {
    position: relative;
    z-index: 1;
}

.auth-remember-row {
    margin-bottom: 15px;
    text-align: right;
}

.auth-forgot-link {
    font-size: 0.9rem;
    color: #0056b3;
    text-decoration: none;
}

.auth-forgot-link:hover {
    text-decoration: underline;
}

.auth-error-msg {
    margin-top: 10px;
    color: #d9534f;
    font-weight: 600;
    text-align: center;
}

.auth-modal-form p {
    font-size: 0.9rem;
    color: #555;
}

.auth-modal-form p a {
    font-weight: 600;
    cursor: pointer;
}

/* Add these styles to your existing CSS */
.auth-modal-form {
    transition: all 0.5s ease;
    transform: translateX(0);
    opacity: 1;
}

.auth-modal-form.auth-form-hidden {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    transform: translateX(-100%);
    opacity: 0;
    pointer-events: none;
}

.auth-modal-body {
    position: relative;
    /*min-height: 400px;*/
    overflow: hidden;
}

.auth-form-toggle a {
    cursor: pointer;
    color: #4a6bff;
    text-decoration: underline;
    transition: all 0.3s ease;
}

.auth-form-toggle a:hover {
    color: #3a56d4;
}

.auth-input-group {
    transition: all 0.3s ease;
}

.auth-submit-btn {
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.auth-btn-layer {
    position: absolute;
    height: 100%;
    width: 300%;
    left: -100%;
    background: linear-gradient(90deg, rgba(74, 107, 255, 0.2), rgba(74, 107, 255, 0.4), rgba(74, 107, 255, 0.2));
    transition: all 0.4s ease;
    top: 0;
}

.auth-submit-btn:hover .auth-btn-layer {
    left: 100%;
}
