/* public/css/modern-login.css */

body, html {
    margin: 0;
    padding: 0;
    height: 100%;
    font-family: 'Poppins', sans-serif;
    overflow: hidden; /* Prevents scrollbars from appearing */
}

.login-container {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    width: 100vw;
    position: relative;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    overflow: hidden;
}

.background-shapes {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.background-shapes div {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    animation: float 20s infinite ease-in-out;
}

.shape1 {
    width: 200px;
    height: 200px;
    top: 10%;
    left: 15%;
    animation-delay: 0s;
}

.shape2 {
    width: 150px;
    height: 150px;
    top: 70%;
    left: 80%;
    animation-delay: 5s;
}

.shape3 {
    width: 100px;
    height: 100px;
    top: 40%;
    left: 50%;
    animation-delay: 10s;
}
.shape4 {
    width: 120px;
    height: 120px;
    top: 80%;
    left: 10%;
    animation-delay: 15s;
}


@keyframes float {
    0% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-40px) rotate(180deg); }
    100% { transform: translateY(0) rotate(360deg); }
}


.login-box {
    position: relative;
    z-index: 2;
    width: 400px;
    padding: 40px;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.37);
    text-align: center;
    color: white;
}

.login-logo {
    margin-bottom: 20px;
}

.login-logo img {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    border: 3px solid rgba(255, 255, 255, 0.5);
    object-fit: cover;
}

.login-logo h1 {
    font-size: 1.8rem;
    font-weight: 700;
    margin-top: 10px;
    letter-spacing: 1px;
}

.login-box-msg {
    margin-bottom: 25px;
    font-size: 1rem;
    font-weight: 300;
}

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

.form-control {
    width: 100%;
    background: transparent;
    border: none;
    border-bottom: 2px solid rgba(255, 255, 255, 0.5);
    color: white;
    font-size: 1rem;
    padding: 10px 0;
    transition: border-color 0.3s;
}

.form-control::placeholder {
    color: rgba(255, 255, 255, 0.7);
}

.form-control:focus {
    outline: none;
    border-bottom-color: white;
    background: transparent;
    box-shadow: none;
}

.input-group-text {
    position: absolute;
    top: 50%;
    right: 10px;
    transform: translateY(-50%);
    color: rgba(255, 255, 255, 0.7);
    background: transparent;
    border: none;
}

.btn-primary {
    width: 100%;
    padding: 12px;
    border-radius: 50px;
    border: none;
    background: linear-gradient(135deg, #89f7fe 0%, #66a6ff 100%);
    color: #1a202c;
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
    margin-top: 10px;
}

.btn-primary:hover {
    box-shadow: 0 5px 15px rgba(102, 166, 255, 0.4);
    transform: translateY(-2px);
}

.icheck-primary label {
    font-weight: 300;
    cursor: pointer;
}

.icheck-primary input {
    margin-right: 8px;
}

.forgot-password-link {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s;
}

.forgot-password-link:hover {
    color: white;
}

.developer-credit {
    position: absolute;
    bottom: 10px;
    right: 10px;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.8rem;
    font-weight: 300;
}
