﻿/* Ensure html/body take full height for centering wrapper */
html, body {
    height: 100%;
    margin: 0;
    padding: 0;
}

body {
    background: linear-gradient(145deg, #ff8a8a, #ff5252, #f53d74);
    /* Fallback solid color */
    background-color: #f53d74;
    font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", "Noto Sans", "Liberation Sans", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji"; /* Default BS font */
}

.login-wrapper {
    display: flex;
    align-items: center; /* Vertically center */
    justify-content: center; /* Horizontally center */
    min-height: 100vh; /* Full viewport height */
    padding: 2rem 1rem; /* Padding around the card */
}

.login-card {
    max-width: 700px; /* Adjust max width */
    width: 100%;
    background-color: #fff;
    border-radius: 1rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    overflow: hidden; /* Keep child elements contained */
}

.graphic-panel {
    padding: 3rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center; /* Center content */
    text-align: center;
    position: relative; /* For potential absolute positioned elements */
    width: 100%; /* Full width */
}

    .graphic-panel .logo-text {
        font-size: 2.5rem; /* Larger text */
        font-weight: bold;
        margin-bottom: 2rem;
        letter-spacing: 1px;
        /* Add custom font if needed */
    }
/* Placeholder for the graphic - replace with an actual image */
.graphic-placeholder {
    width: 80%;
    max-width: 300px;
    height: auto; /* Adjust based on image aspect ratio */
    margin: 0 auto;
}

    .graphic-placeholder img {
        width: 100%;
        height: auto;
    }


.form-panel {
    padding: 2.5rem 3rem; /* Adjust padding */
    display: flex;
    flex-direction: column;
    justify-content: center;
}

    .form-panel .form-title {
        font-size: 1.75rem; /* Slightly smaller title */
        font-weight: 600; /* Semi-bold */
        margin-bottom: 0.5rem;
    }

    .form-panel .form-subtitle {
        color: #6c757d; /* text-muted */
        margin-bottom: 2rem;
        font-size: 0.9rem;
    }

/* Custom button styles */
.btn-login-main {
    background: linear-gradient(90deg, #ff8a8a, #f53d74); /* Pink/Red gradient */
    color: white;
    font-weight: 600;
    border: none;
    transition: all 0.3s ease;
    padding: 0.6rem 1rem;
    border-radius: 0.5rem; /* Slightly more rounded */
}

    .btn-login-main:hover {
        background: linear-gradient(90deg, #f53d74, #ff8a8a); /* Reverse gradient on hover */
        color: white;
        box-shadow: 0 4px 15px rgba(245, 61, 116, 0.3);
    }

/* Shared style for external login buttons */
.btn-login-external {
    border: 1px solid #dee2e6; /* Lighter border */
    background-color: white;
    color: #495057; /* Darker gray text */
    transition: background-color 0.2s ease;
    padding: 0.4rem 1rem; /* Reduced vertical padding */
    border-radius: 0.5rem;
    font-size: 0.9rem; /* Kept font size */
    display: flex; /* Use flex to align image and text */
    align-items: center;
    justify-content: center;
    text-decoration: none; /* Remove underline from link */
}

    .btn-login-external:hover {
        background-color: #f8f9fa; /* bg-light */
        color: #495057;
    }

    .btn-login-external img {
        margin-right: 0.75rem; /* More space */
        vertical-align: middle; /* Keep vertical align */
        width: 20px; /* Explicit width */
        height: 20px; /* Explicit height */
    }


/* Form inputs */
.form-control {
    background-color: #f8f9fa; /* Light background for inputs */
    border: 1px solid #dee2e6;
    border-radius: 0.5rem;
    padding: 0.75rem 1rem; /* Slightly larger padding */
}

    .form-control:focus {
        background-color: #fff;
        border-color: #f7a0b5; /* Light pink focus border */
        box-shadow: 0 0 0 0.25rem rgba(245, 61, 116, 0.15); /* Pink focus shadow */
    }

.form-check-input:checked {
    background-color: #f53d74; /* Pink checkbox */
    border-color: #f53d74;
}

.form-check-label {
    font-size: 0.875rem;
}

.forgot-password-link {
    font-size: 0.875rem;
    color: #f53d74;
    text-decoration: none;
}

    .forgot-password-link:hover {
        text-decoration: underline;
    }

.create-account-link {
    color: #f53d74;
    font-weight: 500;
    text-decoration: none;
}

    .create-account-link:hover {
        text-decoration: underline;
    }
@media (max-width: 575.98px) {
    .login-card-centered {
        padding: 1.5rem; /* Reduce padding on very small screens */
        max-width: 100%; /* Allow card to be full width */
        margin: 0 0.5rem; /* Add small side margins */
    }

    .form-panel { /* Adjust form panel padding if it exists separately */
        padding: 0;
    }
}