/* Base styles */
body {
    font-family: 'Arial', sans-serif;
    background-color: #f8f9fa;
    /* Light neutral background */
    color: #212529;
    /* Dark text */
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    box-sizing: border-box;
}

/* Header styles */

.app-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    /* justify-content: center; */
    /* Center the title */
    /* background-color: #dddbdb; */
    border-bottom: 1px solid #5a9f43;
    padding: 5px 2rem;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    height: 55px;
    /* flex-shrink: 0; */
    position: relative;
    /* border-radius: 5px; */
    background-color: #7cae7a;
    /* Allows the signout button to be positioned absolutely */
}

.seib-logo-link img {
    height: 55px;
}

.seib-logo-link {
    display: flex;
    align-items: center;
    /* height: 100%; */
}

.trend-logo-img {
    height: 47px;
}

/* .app-title {
    font-size: 28px;
    font-weight: 800;
    margin: 0;
    flex-grow: 1;
    padding: 0 15px;
    text-align: center;
} */

/* .logo-div {
    background: linear-gradient(45deg, #039737, #1db954);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
} */

/* Centering the login form */
.login-wrapper {
    /* display: flex;
    flex: 1; */
    /* justify-content: center; */
    /* align-items: center; */
    padding: 0 5px;
    text-align: center;
    background-color: #7cae7a;
    /* background-color: #103f6d; */
    /* height: 100%; */
    flex-grow: 1;
    display: flex;
    justify-content: center;
    /* Horizontally center */
    align-items: center;
    /* Noise texture */
    background-blend-mode: multiply;
    background-size: 50px 50px, 80px 80px, auto;
    /* background: radial-gradient(circle at top left, #103f6d, #082848); */
    /* Takes up all available space */
}

.seiblg-img-div img {
    height: 250px;
    padding-bottom: 10px;
    /* padding: 60px 0 30px; */
}

.login-container {
    width: 100%;
    max-width: 300px;
    padding: 1rem;
    /* box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1); */
    /* background-color: white; */
    border-radius: 12px;
    text-align: center;
    margin: 0 auto;

}

.login-sub-container {
    margin: auto 0;
}

/* Form styles */
/* .login-header {
    font-size: 24px;
    margin-top: 0.5rem;
} */

.form-group {
    margin-bottom: 1.2rem;
    text-align: left;
    width: 100%;
}

label {
    display: block;
    font-size: 14px;
    margin-bottom: 0.5rem;
}

.input-field {
    width: 100%;
    padding: 0.8rem;
    border: 1px solid #ced4da;
    /* Light gray border */
    border-radius: 1px;
    font-size: 16px;
    outline: none;
    transition: border-color 0.3s;
    box-sizing: border-box;
    text-align: center;
    font-weight: 600;
    color: black;
}

.input-field:focus {
    border-color: #6b6f6c;
    /* Spotify green for focus */
}

.btn-login {
    width: 50%;
    padding: 0.8rem;
    /* background-color: #c2d3c8; */
    /* Spotify green */
    color: black;
    font-size: 16px;
    font-weight: bold;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.btn-login:hover {
    background-color: #dadbda;
    /* Slightly brighter green on hover */
}

/* Alert */
.alert {
    margin-top: 1rem;
    color: #ff4d4d;
    /* Red alert text */
    font-size: 14px;
}

.loading-text {
    margin-top: 20px;
    text-align: center;
    margin-bottom: -15px;
    color: #767474;
}

.lds-ellipsis {
    /* change color here */
    color: #1c4c5b
}

.lds-ellipsis,
.lds-ellipsis div {
    box-sizing: border-box;
}

.lds-ellipsis {
    /* display: inline-block; */
    position: relative;
    width: 80px;
    height: 80px;
    margin: auto;
}

.lds-ellipsis div {
    position: absolute;
    top: 33.33333px;
    width: 13.33333px;
    height: 13.33333px;
    border-radius: 50%;
    background: currentColor;
    animation-timing-function: cubic-bezier(0, 1, 1, 0);
}

.lds-ellipsis div:nth-child(1) {
    left: 8px;
    animation: lds-ellipsis1 0.6s infinite;
}

.lds-ellipsis div:nth-child(2) {
    left: 8px;
    animation: lds-ellipsis2 0.6s infinite;
}

.lds-ellipsis div:nth-child(3) {
    left: 32px;
    animation: lds-ellipsis2 0.6s infinite;
}

.lds-ellipsis div:nth-child(4) {
    left: 56px;
    animation: lds-ellipsis3 0.6s infinite;
}


@keyframes lds-ellipsis1 {
    0% {
        transform: scale(0);
    }

    100% {
        transform: scale(1);
    }
}

@keyframes lds-ellipsis3 {
    0% {
        transform: scale(1);
    }

    100% {
        transform: scale(0);
    }
}

@keyframes lds-ellipsis2 {
    0% {
        transform: translate(0, 0);
    }

    100% {
        transform: translate(24px, 0);
    }
}

/* Responsive behavior */
@media (max-width: 480px) {
    .app-header {
        justify-content: center;
    }

    .trend-logo-img {
        display: none;
    }

    .login-container {
        padding: 1.5rem;
    }

    h2 {
        font-size: 20px;
    }

    .subtitle {
        font-size: 12px;
    }

    .btn-login {
        font-size: 14px;
    }

    .btn-signout {
        font-size: 12px;
        padding: 0.4rem 0.8rem;
    }
}

.pagination-view {
    display: flex;
    justify-content: center;
    margin: 40px auto;
}

.pagination {
    display: flex;
    justify-content: center;
    gap: 5px;
    /* Small spacing between items */
    padding: 10px 0;
}

.pagination a,
.pagination .current {
    display: inline-flex;
    /* Ensures consistent alignment */
    align-items: center;
    padding: 5px 10px;
    text-decoration: none;
    color: #333;
    border: 1px solid #ddd;
    border-radius: 4px;
}

.pagination .current {
    background: #007bff;
    color: white;
    border-color: #007bff;
}

.pagination a:hover {
    background: #f1f1f1;
}