/* Login Popup Overlay */
.login-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.7);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

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

/* Login Popup Container */
.login-popup {
    background:#1C1D4D;
    width:100%;
    max-width:390px;
    border-radius:4px;
    padding:22px 26px 18px;
    position:relative;
    box-shadow:0 8px 25px rgba(0,0,0,.45);
}

.login-overlay.active .login-popup {
    transform: translateY(0);
}

/* Close Button */
.close-btn {
    position: absolute;
    top: 15px;
    right: 15px;
    background: #000;
    color: #fff;
    border: none;
    border-radius: 50%;
    width: 25px;
    height: 25px;
    cursor: pointer;
    font-size: 14px;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Popup Header Logo */
.popup-logo {
    display:flex;
    justify-content:center;
    align-items:center;
    margin-bottom:24px;
}
.popup-logo img {
    height:46px;
    width:auto;
    display:block;
}
.popup-title{
    margin:0 0 28px;
    color:#fff;
    font-family:"Lato",sans-serif;
    font-size:18px;
    font-weight:700;
    line-height:1;
}
/* Form Groups */
.form-group{
    margin-bottom:20px;
}

.form-group input{
    width:100%;
    background:transparent;
    border:none;
    border-bottom:2px solid #d8cf00;
    padding:10px 0 9px;
    color:#fff;
    font-size:15px;
    font-family:"Lato",sans-serif;
    outline:none;
}

.form-group input::placeholder{
    color:#ffffff;
    font-size:15px;
    font-weight:500;
}

/* Buttons */
.btn {
    width:100%;
    height:36px;
    border:none;
    border-radius:2px;
    font-family:"Lato",sans-serif;
    font-size:14px;
    font-weight:500;
    cursor:pointer;
    margin-bottom:12px;
    text-transform:none;
}

.btn-white{
    background:#8c8c8c;
    color:#000;
    transition:.25s;
    cursor:not-allowed;
}

.btn-white.active{
    background:#ffe100;
    color:#000;
    cursor:pointer;
}
.btn-yellow{
    background:#ffe100;
    color:#000;
}

.btn-grey{
    background:#28A745;
    color:#ffffff;
}

/* Error/Success Messages */
.message-box {
    margin-bottom: 15px;
    padding: 10px;
    border-radius: 4px;
    font-size: 13px;
    text-align: center;
    display: none;
}
.message-box.error {
    background-color: rgba(217, 83, 79, 0.2);
    color: #ff6b6b;
    border: 1px solid #d9534f;
    display: block;
}
.message-box.success {
    background-color: rgba(40, 167, 69, 0.2);
    color: #28a745;
    border: 1px solid #28a745;
    display: block;
}

/* Betfair Footer */
.popup-footer {
    margin-top:28px;
    text-align:center;
    font-size:11px;
    color:#fff;
}
.popup-footer img {
    height:11px;
    margin-left: 5px;
    vertical-align: middle;
}
