﻿body {
    background: radial-gradient(circle, rgb(255 209 209 / 57%) 0%, rgb(255 255 255 / 83%) 100%); /*radial-gradient(circle, rgb(199 236 251) 0%, rgb(255 255 255 / 83%) 100%);*/
    font-family: 'Roboto', 'Noto Sans', sans-serif;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}
.login-card {
    width: 400px;
    padding: 40px 30px;
    border-radius: 15px;
    background: #fff;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
    animation: fadeIn 0.8s ease;
}

h3 {
    font-weight: 600;
    color: #E42828; /*#649c9d;*/
    text-align: center;
    margin-bottom: 30px;
}

.input-group-text {
    background: #f8f9fa;
    border-right: none;
}

.form-control {
    border-left: none;
}

    .form-control:focus {
        box-shadow: none;
        border-color: #E42828; /*#3f2b96;*/
    }

.btn-success {
    background-color: #212529;/* #649c9d;*/
    border: none;
    color: #ffffff;
    transition: background-color 0.3s;
}

    .btn-success:hover {
        background-color: #2e696a;
    }

.toggle-password {
    cursor: pointer;
    color: #888;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}
.login-page-container {
    padding: 20px; /* Some padding around the card */
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.login-card-img-style {
    background-color: #ffffff;
    border-radius: 20px; /* More pronounced rounded corners for the card */
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1); /* Deeper, softer shadow */
    overflow: hidden; /* Important for border-radius with child elements */
    width: 100%;
    max-width: 900px; /* Adjust as needed for the overall card width */
    display: flex;
    height: 500px; /* Fixed height to match the image aspect ratio */
}

.login-content-wrapper {
    display: flex;
    width: 100%;
}

.login-illustration-section {
    flex: 1; 
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding: 20px;
}

.illustration-placeholder {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

    .illustration-placeholder::before,
    .illustration-placeholder::after,
    .illustration-placeholder .shape-circle,
    .illustration-placeholder .shape-triangle,
    .illustration-placeholder .shape-square {
        content: '';
        position: absolute;
        border-radius: 50%;
        opacity: 0.6;
    }

    .illustration-placeholder .shape-circle {
        width: 80px;
        height: 80px;
        border: 2px solid #5ab9c3;
        left: 20px;
        top: 10px;
        border-radius: 50%;
    }

    .illustration-placeholder .shape-triangle {
        width: 0;
        height: 0;
        border-left: 15px solid transparent;
        border-right: 15px solid transparent;
        border-bottom: 25px solid #82e2c0; /* Green */
        transform: rotate(15deg);
        right: 30px;
        top: 40px;
        border-radius: 0;
    }

    .illustration-placeholder .shape-square {
        width: 15px;
        height: 15px;
        background-color: #a797e8; /* Purple */
        transform: rotate(45deg);
        left: 50px;
        bottom: 30px;
        border-radius: 3px;
    }

    .illustration-placeholder img {
        max-width: 100%;
        max-height: 100%;
        z-index: 1; 
    }


.login-form-section {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: center;
}

.form-title {
    font-size: 1.8rem;
    font-weight: 600;
    margin-bottom: 40px;
    color: #333;
}

.input-icon-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    margin-bottom: 15px; 
}

.input-icon {
    position: absolute;
    left: 18px; 
    color: #999;
    font-size: 0.9rem;
    z-index: 2; 
}

.form-control.custom-input {
    padding: 12px 20px 12px 50px; 
    height: auto;
    border-radius: 50px; 
    border: 1px solid #e0e0e0;
    background-color: #fcfcfc;
    font-size: 0.95rem;
    color: #555;
    transition: all 0.3s ease;
}

    .form-control.custom-input::placeholder {
        color: #aaa;
    }

    .form-control.custom-input:focus {
        border-color: #c9c9c9;
        box-shadow: 0 0 0 0.15rem rgba(0, 0, 0, 0.05);
        background-color: #ffffff;
        outline: none;
    }

.offcanvas-header {
    background-color: #E42828; /*#2e8571;*/
}

.btn-login-custom {
    background-color: #E42828; 
    color: #ffffff;
    font-weight: 600;
    font-size: 1rem;
    padding: 12px 25px;
    border-radius: 50px; 
    border: none;
    box-shadow: 0 5px 15px rgba(92, 184, 92, 0.3); 
    transition: all 0.3s ease;
}

    .btn-login-custom:hover {
        background-color: #ad1e1e;
        box-shadow: 0 7px 20px rgba(92, 184, 92, 0.4);
        transform: translateY(-2px);
        color: #fff; 
    }

.forgot-link {
    color: #999;
    font-size: 0.85rem;
    text-decoration: none;
    transition: color 0.2s ease;
}

    .forgot-link:hover {
        color: #666;
        text-decoration: underline;
    }

.separator {
    width: 100%;
    height: 1px;
    background-color: #e0e0e0;
    margin: 30px 0;
}

.create-account-link {
    color: #333;
    font-size: 0.9rem;
    font-weight: 500;
    text-decoration: none;
    transition: color 0.2s ease;
}

    .create-account-link:hover {
        color: #007bff; /* A blue hover for variety */
        text-decoration: underline;
    }

.custom-alert {
    border-radius: 8px;
    font-size: 0.85rem;
    padding: 10px 15px;
    margin-bottom: 20px;
}


.password-toggle {
    position: absolute;
    right: 18px;
    color: #999;
    cursor: pointer;
    z-index: 2;
    font-size: 0.9rem;
}
.password-toggle:hover {
    color: #666;
}
