/* ===== VISPĀRĪGAIS ===== */
body {
    font-family: Arial, sans-serif;
    background-color: #f4f4f4;
    margin: 0;
    padding: 0;
}

/* ===== KONTEINERS ===== */
.container {
    width: 400px;
    margin: 80px auto;
    padding: 30px;
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 0 15px rgba(0,0,0,0.2);
    text-align: center;
}

/* ===== VIRSRĀKSTI ===== */
h2 {
    margin-bottom: 20px;
    color: #333;
}

/* ===== PAZIŅOJUMI ===== */
.message {
    display: block;
    padding: 12px 18px;
    margin: 15px 0;
    border-radius: 8px;
    font-weight: bold;
    font-size: 15px;
    text-align: center;
    box-shadow: 0 0 8px rgba(0,0,0,0.15);
}

.message.success {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.message.error {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

/* ===== FORMAS ===== */
form {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    margin-top: 10px;
}

/* Label */
label {
    text-align: left;
    margin-bottom: 5px;
    font-weight: bold;
    color: #333;
}

/* Input lauki */
input[type="text"],
input[type="password"] {
    width: 100%;
    padding: 10px;
    margin-bottom: 15px;
    border-radius: 6px;
    border: 1px solid #ccc;
    font-size: 15px;
    box-sizing: border-box;
    transition: border 0.2s, box-shadow 0.2s;
}

input:focus {
    border-color: #007bff;
    box-shadow: 0 0 5px rgba(0,123,255,0.5);
    outline: none;
}

/* ===== POGAS ===== */
button {
    padding: 10px 20px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-size: 15px;
    margin: 5px 0;
    color: #fff;
    transition: background 0.3s, transform 0.1s;
}

button:hover {
    transform: scale(1.03);
}

/* Krāsas */
button.green { background-color: #28a745; }
button.green:hover { background-color: #218838; }

button.red { background-color: #dc3545; }
button.red:hover { background-color: #c82333; }

button.blue { background-color: #007bff; }
button.blue:hover { background-color: #0069d9; }

button.orange { background-color: #fd7e14; }
button.orange:hover { background-color: #e8590c; }

/* ===== LINKI ===== */
a {
    text-decoration: none;
    color: #007bff;
    font-weight: bold;
}

a:hover {
    text-decoration: underline;
}

/* ===== ACTION MESSAGE (ja izmanto) ===== */
.action-message {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 24px;
    font-weight: bold;
    color: #007bff;
    text-align: center;
    padding: 20px;
    border: 3px solid #007bff;
    border-radius: 12px;
    background-color: #e9f5ff;
    z-index: 9999;
    box-shadow: 0 0 25px rgba(0,0,0,0.4);
}
