p /* Pogas, pagination, datumi, lasīts, kartīšu darbības */
.btn {
    background: #0078d7;
    color: #fff;
    padding: 10px 22px;
    border-radius: 4px;
    text-decoration: none;
    font-size: 1em;
    font-weight: 600;
    transition: background 0.2s, box-shadow 0.2s;
    border: 1px solid #005fa3;
    cursor: pointer;
    display: inline-block;
    box-shadow: 0 2px 8px rgba(0,0,0,0.10);
}
.btn:hover {
    background: #005fa3;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}
.logout-btn {
    margin-bottom: 18px;
}
.reply-btn{
    /* Papildu stils, ja nepieciešams */
}
.card-actions {
    margin-top: 8px;
    display: flex;
    gap: 10px;
}
.read-form {
    margin: 0;
}
.read-label {
    color: green;
    font-size: 0.95em;
    align-self: center;
}
.msg-date {
    float: right;
    color: #888;
    font-size: 0.95em;
}
.pagination {
    text-align: center;
    margin-top: 24px;
}
.page-btn {
    margin: 0 8px;
}
.page-info {
    font-size: 1.1em;
    color: #333;
}

body {
    font-family: Arial, sans-serif;
    background: #f4f4f4;
    margin: 0;
    padding: 0;
}

.container {
    max-width: 600px;
    margin: 40px auto;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 2px 16px rgba(0,0,0,0.08);
    padding: 32px 28px 24px 28px;
}


h2 {
    text-align: center;
    color: #333;
}

/*
form {
    background: none;
    margin: 0 auto;
    max-width: 100%;
    padding: 0;
}
*/

/*-iz nav.css - nachalo*/
form {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    max-width: 600px;
    margin: 1rem auto;
}
/*------*/
.row {
    display: flex;
    gap: 0.75rem;
}

.form-row {
    display: flex;
    gap: 1rem;
    justify-content: space-between;
}

.form-group {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.field {
    flex: 1;
    display: flex;
    flex-direction: column;
}
/*------*/
input, textarea {
    padding: 0.5rem;
    border-radius: 6px;
    border: 1px solid #ccc;
    font-size: 1rem;
    /*---*/
    width:100%;
    box-sizing: border-box;
    /*---*/
}

input[type="submit"] {
    background: #00bfae;
    color: #fff;
    border: none;
    cursor: pointer;
    font-weight: 600;
    transition: background 0.2s;
}

/* iz nav.css - konec */









.message-list {
    max-width: 600px;
    margin: 0 auto 40px auto;
    padding: 0;
}

.card {
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    background: #fff;
    margin-bottom: 18px;
    padding: 18px 16px;
}


label {
    font-weight: bold;
}

.meta {
    color: #444;
}


input[type="text"],
input[type="email"],
input[type="password"],
textarea {
    width: 100%;
    padding: 8px;
    margin-top: 4px;
    margin-bottom: 16px;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-sizing: border-box;
    font-size: 1em;
}

.email {
    color: #555;
}

.text {
    margin-top: 8px;
    margin-bottom: 8px;
}

input[type="submit"] {
    background: #0078d7;
    color: #fff;
    border: none;
    padding: 10px 20px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 1em;
    transition: background 0.2s;
}

input[type="submit"]:hover {
    background: #005fa3;
}

p {
    text-align: center;
}

