@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap');

body {
    background: #f4f4f9;
    font-family: 'Poppins', sans-serif;
    color: #333;
}

/* Login Container */
.login_container {
    background: #ffffff;
    border-radius: 10px;
    max-width: 420px;
    padding: 25px;
    width: 100%;
}

/* Card Styling */
.card {
    background: #ffffff;
    border: none;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    width: 100%;
}

/* Top Panel (Back Button) */
.top_panel {
    background-color: #2C3E50;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
    color: white;
    padding: 10px 15px;
    text-align: center;
}

.top_panel a i {
    color: white;
    font-size: 20px;
}

/* Form Panel */
.bottom_panel {
    text-align: center;
}

.bottom_panel p {
    font-size: 22px;
    font-weight: bold;
    margin-bottom: 20px;
    color: #34495E;
}

/* Labels & Input Fields */
.bottom_panel label {
    display: block;
    font-size: 14px;
    margin-bottom: 5px;
    text-align: left;
}

.bottom_panel input {
    border-radius: 6px;
    color: #5f5f5f;
    font-size: 14px;
    padding: 12px;
    width: 100%;
    border: 1px solid #BDC3C7;
    transition: border 0.3s ease-in-out;
}

.bottom_panel input:focus {
    border-color: #1ABC9C;
}

/* Remove Bootstrap focus outline */
.btn:focus, .form-control:focus {
    box-shadow: none;
    outline: none;
}

/* Buttons */
.login_button {
    margin-top: 20px;
}

.login_button button {
    background: linear-gradient(135deg, #1ABC9C 0%, #16A085 100%);
    border: none;
    border-radius: 8px;
    color: white;
    font-size: 16px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 14px;
    width: 100%;
    cursor: pointer;
    transition: all 0.3s ease-in-out;
    box-shadow: 0 4px 10px rgba(26, 188, 156, 0.2);
}

.login_button button:hover {
    background: linear-gradient(135deg, #16A085 0%, #1ABC9C 100%);
    transform: scale(1.05);
    box-shadow: 0 6px 15px rgba(26, 188, 156, 0.3);
}


/* Alert Messages */
.alert {
    font-size: 14px;
    color: #E74C3C;
}

/* Mobile-Friendly Layout */
@media screen and (max-width: 768px) {
    .login_container {
        max-width: 100%;
        padding: 20px;
        width: 90%;
    }

    .bottom_panel p {
        font-size: 20px;
    }

    .bottom_panel input {
        padding: 10px;
    }

    .login_button button {
        font-size: 14px;
        padding: 10px;
    }

    .top_panel {
        padding: 8px;
    }

    .top_panel a i {
        font-size: 18px;
    }
}
