﻿/* Global dark gradient background */
body {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
    min-height: 100vh;
}

/* Navbar brand */
.auth-brand {
    font-size: 1.6rem;
    font-weight: 700;
    letter-spacing: -0.5px;
}

/* Auth card */
.auth-card {
    border: none;
    border-radius: 16px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.4);
    background: rgba(255,255,255,0.97);
}

/* Form controls */
.form-control {
    border-radius: 8px;
    padding: 0.65rem 1rem;
}

.form-control:focus {
    border-color: #0f3460;
    box-shadow: 0 0 0 0.2rem rgba(15,52,96,0.2);
}

/* Buttons */
.btn-primary {
    background: #0f3460;
    border-color: #0f3460;
    border-radius: 8px;
    padding: 0.65rem 1.5rem;
    font-weight: 600;
}

.btn-primary:hover {
    background: #16213e;
    border-color: #16213e;
}

.btn-google {
    background: #fff;
    border: 2px solid #dadce0;
    border-radius: 8px;
    color: #3c4043;
    font-weight: 500;
    padding: 0.6rem 1.5rem;
    transition: box-shadow 0.2s, background 0.2s;
}

.btn-google:hover {
    background: #f8f9fa;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
    border-color: #c6c6c6;
}

/* Divider */
.divider {
    display: flex;
    align-items: center;
    color: #aaa;
    font-size: 0.85rem;
}

.divider::before,
.divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: #dee2e6;
}

.divider::before { margin-right: 0.75rem; }
.divider::after  { margin-left:  0.75rem; }

/* Set padding to keep content from hitting the edges */
.body-content {
    margin-top: 15px;
    padding-left: 15px;
    padding-right: 15px;
}

/* Override the default bootstrap behavior where horizontal description lists
   will truncate terms that are too long to fit in the left column
*/
.dl-horizontal dt {
    white-space: normal;
}

.page-hero {
    position: relative;
    padding: 64px 0 40px;
    background: radial-gradient(1200px 500px at 50% 0%, rgba(255,255,255,.08), rgba(0,0,0,0)), linear-gradient(180deg, #0b1220 0%, #070d18 100%);
    color: #fff;
    overflow: hidden;
}

    .page-hero::before {
        content: "";
        position: absolute;
        inset: 0;
        background: rgba(0,0,0,.25); /* justera vid behov */
    }

.page-hero__inner {
    position: relative;
    z-index: 1;
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 16px;
}

.page-title {
    font-size: clamp(32px, 4vw, 56px);
    font-weight: 800;
    letter-spacing: -0.02em;
    line-height: 1.05;
    margin: 0 0 12px;
    text-shadow: 0 2px 18px rgba(0,0,0,.35);
    display: inline-block;
    position: relative;
    padding-bottom: 10px;
}

    .page-title::after {
        content: "";
        position: absolute;
        left: 0;
        bottom: 0;
        width: 56px;
        height: 4px;
        border-radius: 99px;
        background: #34d399; /* er gröna accent */
    }

.page-lead {
    margin: 0;
    max-width: 65ch;
    font-size: 18px;
    opacity: .9;
}

/* Bootstrap accordion icon synlig på mörk bakgrund */
.accordion-button::after {
    filter: invert(1);
    opacity: .8;
}

/* Ta bort standardbakgrund vid fokus/active på mörk yta */
.accordion-button:focus {
    box-shadow: none;
}

/* Bronze medal badge for example portfolio ranking */
.badge-bronze {
    background-color: #cd7f32 !important;
}
