@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700&display=swap');

/* Pagrindiniai stiliai */
body {
    font-family: 'Poppins', sans-serif;
    background-color: #f8f9fa;
    color: #343a40;
    margin: 0;
    padding: 30px;
    line-height: 1.6;
}

/* Pagrindinis konteineris */
.container {
    max-width: 900px;
    margin: auto;
    background: #ffffff;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    margin-bottom: 30px;
}

/* Antraštės */
h1, h2, h3 {
    color: #212529;
    margin-top: 1.5em;
    margin-bottom: 0.8em;
    font-weight: 600;
}
h1 { font-size: 2rem; }
h2 { font-size: 1.5rem; border-bottom: 1px solid #e9ecef; padding-bottom: 0.5rem; }
h3 { font-size: 1.25rem; }

/* Formos elementai */
label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: #495057;
}

input, select, textarea {
    width: 100%;
    padding: 10px 12px;
    margin-bottom: 18px;
    border: 1px solid #ced4da;
    border-radius: 8px;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
    font-size: 1rem;
    transition: border-color 0.2s, box-shadow 0.2s;
}

input:focus, select:focus, textarea:focus {
    outline: none;
    border-color: #4a90e2;
    box-shadow: 0 0 0 3px rgba(74, 144, 226, 0.2);
}

/* Mygtukai */
.btn {
    display: inline-block;
    padding: 10px 20px;
    background-color: #4a90e2; /* Moderni mėlyna */
    color: #fff;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 500;
    text-align: center;
    text-decoration: none;
    transition: background-color 0.2s, transform 0.2s;
}

.btn:hover {
    background-color: #357ABD;
    transform: translateY(-2px);
}

.btn.secondary {
    background-color: #6c757d;
}

.btn.secondary:hover {
    background-color: #5a6268;
}

/* Lentelių stiliai */
table {
    border-collapse: collapse;
    width: 100%;
    margin-top: 20px;
    font-size: 0.95rem;
}

th, td {
    padding: 12px 15px;
    text-align: left;
    border-bottom: 1px solid #e9ecef;
    vertical-align: middle;
}

thead th {
    background-color: #f8f9fa;
    font-weight: 600;
    color: #495057;
    border-bottom-width: 2px;
}

tbody tr:nth-child(even) {
    background-color: #f8f9fa;
}

tbody tr:hover {
    background-color: #e9ecef;
}

.right {
    text-align: right;
}

/* Specifiniai mygtukai lentelėje */
td .btn {
    padding: 5px 10px;
    font-size: 0.9rem;
}
td form {
    margin: 0;
}
