﻿/* Please see documentation at https://docs.microsoft.com/aspnet/core/client-side/bundling-and-minification
for details on configuring this project to bundle and minify static web assets. */

a.navbar-brand {
    white-space: normal;
    text-align: center;
    word-break: break-all;
}

/* Provide sufficient contrast against white background */
a {
    color: #0366d6;
}

.btn-primary {
    color: #fff;
    background-color: #1b6ec2;
    border-color: #1861ac;
}

.nav-pills .nav-link.active, .nav-pills .show > .nav-link {
    color: #fff;
    background-color: #1b6ec2;
    border-color: #1861ac;
}

/* Sticky footer styles
-------------------------------------------------- */
html {
    font-size: 14px;
}

@media (min-width: 768px) {
    html {
        font-size: 16px;
    }
}

.border-top {
    border-top: 1px solid #e5e5e5;
}

.border-bottom {
    border-bottom: 1px solid #e5e5e5;
}

.box-shadow {
    box-shadow: 0 .25rem .75rem rgba(0, 0, 0, .05);
}

button.accept-policy {
    font-size: 1rem;
    line-height: inherit;
}

/* Sticky footer styles
-------------------------------------------------- */
html {
    position: relative;
    min-height: 100%;
}

body {
    margin-bottom: 60px; /* Margin bottom by footer height */
}

.footer {
    position: absolute;
    bottom: 0;
    width: 100%;
    white-space: nowrap;
    line-height: 60px;
}

.ai-mentor-link {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 10px;
}

.mentor-image {
    background-color: #f0f0f0;
    padding: 1px;
    border-radius: 8px;
    box-shadow: 0 0 2px rgba(0,0,0,0.2);
    height: 24px;
    width: 24px;
    margin-right: 10px;
    vertical-align: middle;
}

/* Main two-column layout */
.login-layout {
    margin-top: 60px;
}

/* Left column */
.login-column {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* Login form card */
.login-card {
    background: #ffffff;
    border-radius: 12px;
    padding: 24px 28px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
}

/* Subtitle under Student login */
.login-subtitle {
    font-size: 0.95rem;
    color: #4a4a4a;
    margin-bottom: 0.75rem;
}

.login-btn {
    padding: 12px 18px;
    font-weight: 600;
    font-size: 1.05rem;
    border: 2px solid #1a7f2a;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.18);
}

/* Hero column */
.hero-column {
    display: flex;
    justify-content: center;
}

/* Image + text layout */
.hero-content {
    display: flex;
    align-items: center;
    gap: 32px;
}

/* Hero image size */
.hero-image {
    max-width: 230px;
    height: auto;
}

/* Text block */
.hero-copy {
    max-width: 420px;
}

    .hero-copy h2 {
        font-size: 26px;
        font-weight: 700;
        margin-bottom: 12px;
    }

    .hero-copy p {
        font-size: 16px;
        line-height: 1.45;
    }

/* Hero buttons block */
.hero-buttons {
    margin-top: 12px;
    display: flex;
    gap: 12px;
}

/* Secondary hero CTA (Find out more) */
.hero-btn-secondary {
    border: 2px solid #0C1059;
    color: #0C1059;
    background-color: transparent;
    padding: 4px 16px !important; /* reduced height */
    font-size: 0.95rem !important; /* slightly smaller */
    font-weight: 500;
}

    .hero-btn-secondary:hover {
        background-color: #0C1059;
        color: white;
    }

/* Primary hero CTA (Join CPU Code School) */
.hero-btn-primary {
    padding: 4px 16px !important; /* reduced height */
    font-size: 0.95rem !important;
}

/* Mobile behavior */
@media (max-width: 768px) {
    .hero-column {
        display: none !important;
    }

    .login-layout {
        margin-top: 20px;
    }

    body {
        padding-bottom: 80px;
    }
}
