* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Arial', sans-serif;
    background-color: #f5f6fa;
    color: #333;
}

.container {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
}

/* Header stiilid */
header {
    text-align: center;
    margin-bottom: 30px;
}

.logo {
    max-width: 200px;
    margin-bottom: 15px;
}

h1 {
    font-size: 24px;
    color: #2c3e50;
}

/* Vormi stiilid */
.form-wrapper {
    background-color: white;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.form-group {
    margin-bottom: 20px;
}

label {
    display: block;
    margin-bottom: 5px;
    font-weight: 600;
    color: #2c3e50;
}

input {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 16px;
    transition: border-color 0.3s;
}

input:focus {
    border-color: #3498db;
    outline: none;
}

.register-btn {
    background-color: #3498db;
    color: white;
    padding: 12px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    width: 100%;
    font-size: 16px;
    font-weight: 600;
    transition: background-color 0.3s;
}

.register-btn:hover {
    background-color: #2980b9;
}

/* Teavituse stiilid */
.notification {
    padding: 15px;
    margin-top: 20px;
    border-radius: 5px;
    text-align: center;
    font-weight: bold;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
}

.notification.success {
    background-color: #dff0d8;
    color: #3c763d;
    border: 1px solid #d6e9c6;
}

.notification.error {
    background-color: #f2dede;
    color: #a94442;
    border: 1px solid #ebccd1;
}

.notification.visible {
    opacity: 1;
}

.hidden {
    display: none;
}

/* Admin lehe tabeli stiilid */
.search-container {
    margin-bottom: 20px;
}

#search {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 16px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.table-wrapper {
    overflow-x: auto;
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.responsive-table {
    width: 100%;
    border-collapse: collapse;
}

.responsive-table th,
.responsive-table td {
    padding: 12px 15px;
    text-align: left;
}

.responsive-table th {
    background-color: #3498db;
    color: white;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 14px;
}

.responsive-table tr {
    border-bottom: 1px solid #eee;
}

.responsive-table tr:nth-child(even) {
    background-color: #f9f9f9;
}

.responsive-table tr:hover {
    background-color: #f1f1f1;
}

.logout-btn {
    background-color: #e74c3c;
    color: white;
    padding: 8px 16px;
    text-decoration: none;
    border-radius: 4px;
    transition: background-color 0.3s;
    display: inline-block;
}

.logout-btn:hover {
    background-color: #c0392b;
}

/* Responsive disain */
@media (max-width: 768px) {
    .container {
        padding: 10px;
    }

    h1 {
        font-size: 20px;
    }

    .form-wrapper {
        padding: 15px;
    }

    .notification {
        font-size: 14px;
        padding: 10px;
    }

    .responsive-table thead {
        display: none;
    }

    .responsive-table tr {
        display: block;
        margin-bottom: 15px;
        border: 1px solid #ddd;
        border-radius: 4px;
    }

    .responsive-table td {
        display: block;
        text-align: right;
        padding: 10px;
        position: relative;
    }

    .responsive-table td::before {
        content: attr(data-label);
        position: absolute;
        left: 10px;
        font-weight: bold;
        color: #2c3e50;
    }
}