﻿/* Background and overlay */
body.hangfire-auth {
    position: relative;
    background-image: url('../images/backgrounds/all-strategies-blur.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    min-height: 100vh;
}

body.hangfire-auth::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background-color: rgba(13, 110, 193, 0.85); /* Slightly darker blue overlay */
    z-index: -1;
}

/* Auth container styles - updated for new layout */
.auth-container {
    position: relative;
    z-index: 1;
    max-width: 500px;
    margin: 0 auto;
    padding-top: 50px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Card styling for login box */
.card {
    background-color: #fff;
    border-radius: 4px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    width: 100%;
    overflow: hidden;
}

/* Move logo inside the white box and center it */
.auth-logo {
    text-align: center;
    margin-bottom: 0;
    padding-top: 30px;
    padding-bottom: 5px;
    background-color: white;
    width: 100%;
}

.auth-logo img {
    max-width: 150px;
    height: auto;
}

/* Style the title under the logo */
.auth-title {
    text-align: center;
    color: #337ab7;
    font-size: 14px;
    margin-top: 0;
    margin-bottom: 20px;
    background-color: white;
    width: 100%;
    border-bottom: 1px solid #e3e3e3;
    padding-bottom: 20px;
}

/* Change card header styling to white background with dark text */
.card-header {
    background-color: white; /* Changed from #337ab7 */
    color: #333; /* Dark text instead of white */
    padding: 15px;
    text-align: center;
    border-radius: 0;
    border-bottom: 1px solid #e3e3e3; /* Add a subtle border */
}

.card-header h4 {
    margin: 0;
    font-size: 18px;
}

/* Card body styling */
.card-body {
    padding: 20px;
}

/* Button styling */
.btn-primary {
    background-color: #337ab7;
    border-color: #2e6da4;
    border-radius: 2px;
    padding: 12px;
    width: 100%;
    font-weight: normal;
    text-transform: capitalize;
}

.btn-primary:hover {
    background-color: #286090;
    border-color: #204d74;
}

/* Form group styling */
.form-group {
    margin-bottom: 20px;
}

/* Style the input fields */
.form-control {
    border-radius: 2px;
    border: 1px solid #ddd;
    padding: 10px;
    margin-bottom: 15px;
}

/* Copyright at the bottom */
.copyright {
    color: white;
    text-align: center;
    margin-top: 20px;
    font-size: 12px;
    width: 100%;
}

/* Remove the footer from layout */
footer {
    display: none;
}

/* Loader styles */
.fullpage-loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.8);
    display: none;
    z-index: 9999;
    justify-content: center;
    align-items: center;
}

.spinner {
    width: 40px;
    height: 40px;
    border: 4px solid #f3f3f3;
    border-top: 4px solid #337ab7;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Show loader class */
.loading {
    display: flex !important;
}