﻿/* Bāzes iestatījumi */
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: #f4f6f8;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    margin: 0;
}

/* Kārtes (card) stils */
.card {
    background: #ffffff;
    padding: 40px 30px;
    border-radius: 12px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.1);
    width: 100%;
    max-width: 400px;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

    .card:hover {
        transform: translateY(-4px);
        box-shadow: 0 12px 25px rgba(0,0,0,0.15);
    }

    /* Galvenes stils */
    .card h2 {
        margin-bottom: 25px;
        font-weight: 600;
        color: #333;
        text-align: center;
    }

/* Etiķetes (label) stils */
label {
    display: block;
    margin-bottom: 6px;
    font-weight: 500;
    color: #555;
    font-size: 0.95rem;
}

/* Input un DropDown stils */
input[type="text"],
input[type="password"],
select,
.aspNetDropDownList select {
    width: 100%;
    padding: 10px 14px;
    margin-bottom: 18px;
    border: 1px solid #ccc;
    border-radius: 8px;
    font-size: 0.95rem;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    box-sizing: border-box;
    background: #fff;
}

    input[type="text"]:focus,
    input[type="password"]:focus,
    select:focus {
        border-color: #4a90e2;
        box-shadow: 0 0 6px rgba(74,144,226,0.3);
        outline: none;
    }

/* DropDownList modernizēšana (ASP.NET select) */
select {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: url("data:image/svg+xml;charset=US-ASCII,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24'%3E%3Cpath fill='%23666' d='M7 10l5 5 5-5z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 12px;
}

/* Poga stils */
.btn {
    width: 100%;
    background-color: #4a90e2;
    color: #fff;
    padding: 12px 0;
    font-size: 1rem;
    font-weight: 600;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: background-color 0.2s ease, transform 0.2s ease;
}

    .btn:hover {
        background-color: #357ABD;
        transform: translateY(-2px);
    }

    .btn:active {
        transform: translateY(0);
        background-color: #2c5d99;
    }

/* Kļūdu paziņojums */
.error {
    color: #d32f2f;
    margin-bottom: 12px;
    font-size: 0.9rem;
    font-weight: 500;
    text-align: center;
}
