/* signin.css - Felles stil for alle innloggingssider */

/* Tvinger Montserrat på alt i signin-flyten */
* { 
    font-family: 'Montserrat', sans-serif !important; 
}

/* Flexbox på body sørger for at footeren alltid dyttes til bunns uten scroll */
body {
    min-height: 100vh; 
    display: flex; 
    flex-direction: column; 
    margin: 0;
}

/* Wrapperen tar opp all ledig plass og sentrerer innholdet */
.signin-wrapper {
    flex-grow: 1; 
    display: flex; 
    flex-direction: column; 
    align-items: center; 
    justify-content: center; 
    padding: 20px;
}

.signin-logo {
    margin-bottom: 20px;
}

.signin-logo img {
    max-width: 160px;
    height: auto;
}

.signin-modal {
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    padding: 28px 32px;
    width: 100%;
    max-width: 360px;
}

.signin-modal h1 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 4px;
    color: #1a1a1a;
}

.signin-modal .subtitle {
    color: #666;
    font-size: 0.85rem;
    margin-bottom: 18px;
}

.signin-modal .form-control {
    border-radius: 6px;
    padding: 10px 14px;
    border: 1px solid #e0e0e0;
    font-size: 0.9rem;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.signin-modal .form-control:focus {
    border-color: #e74c3c;
    box-shadow: 0 0 0 3px rgba(231, 76, 60, 0.1);
}

.signin-modal .btn-primary {
    background: #e74c3c;
    border: none;
    border-radius: 6px;
    padding: 10px 20px;
    font-weight: 500;
    font-size: 0.9rem;
    width: 100%;
    transition: transform 0.2s, box-shadow 0.2s;
}

.signin-modal .btn-primary:hover {
    background: #c0392b;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(231, 76, 60, 0.4);
}

.signin-modal .btn-link {
    color: #1a1a1a;
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 600;
}

.signin-modal .btn-link:hover {
    text-decoration: underline;
}