/* ============================================
   Login/Signup Modal - Modern Redesign
   ============================================ */

.modal-content {
    background-color: #fff;
    border: none;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}
.modal-body {
    padding: 1.5rem 2rem;
}
.modal-footer {
    padding: 1rem 2rem;
}

.close {
    opacity: .5;
    position: absolute;
    right: 14px;
    top: 8px;
    z-index: 1;
    font-size: 24px;
    transition: opacity 0.2s ease;
}
.close:hover {
    opacity: 1;
}

/* Form Inputs */
.form-control {
    border-radius: 10px;
    box-shadow: none;
    border: 1.5px solid #e8e8ef;
    padding: 10px 16px;
    font-size: 15px;
    font-family: 'Inter', sans-serif;
    transition: all 0.2s ease;
    margin-bottom: 10px;
    background: #fafafe;
}
.form-control:focus {
    border-color: #6C63FF;
    box-shadow: 0 0 0 3px rgba(108, 99, 255, 0.12);
    background: #fff;
}
.form-control::placeholder {
    color: #b2bec3;
    font-weight: 400;
}

/* Nav Tabs */
.nav-tabs {
    border-bottom: none;
    display: flex;
}
.nav > li > a {
    position: relative;
    display: block;
    padding: 14px 15px;
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    font-size: 14px;
    letter-spacing: 0.3px;
}
.nav-tabs > li {
    flex: 1;
    text-align: center;
}
.nav-tabs > li > a {
    background-color: #f0f0f7;
    color: #636e72;
    border: none;
    border-radius: 0;
    transition: all 0.2s ease;
}
.nav-tabs > li > a:hover {
    background-color: #e8e8ef;
    color: #2d3436;
}
.nav-tabs > li.active > a,
.nav-tabs > li.active > a:focus {
    background-color: #fff;
    color: #6C63FF;
    text-decoration: none;
    border-bottom: 3px solid #6C63FF;
}
a:hover {
    text-decoration: none;
}

/* Validation */
.parsley-error {
    border-color: #DC3545;
    color: #DC3545;
    background-color: #fff5f5;
}

.existing-customer {
    display: none;
}

/* Social Login Links in modal */
#myModal .lgTag,
#myModal a[role="tab"] {
    color: #6C63FF;
    font-weight: 600;
}
#myModal .lgTag:hover {
    color: #4834d4;
}
#myModal hr {
    border-top-color: #e8e8ef;
    margin: 16px 0;
}
