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

.container {
    max-width: 500px;
    margin: 60px auto;
    background: #fff;
    border-radius: 6px;
    padding: 20px 25px 25px;
    box-shadow: 0 0 8px rgba(0, 0, 0, 0.1);
}

h2 {
    text-align: center;
    margin-bottom: 18px;
}

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

label {
    display: block;
    margin-bottom: 5px;
    font-size: 0.9rem;
}

input[type="text"],
input[type="password"] {
    width: 100%;
    padding: 8px 10px;
    border-radius: 4px;
    border: 1px solid #ccc;
    box-sizing: border-box;
    font-size: 0.95rem;
}

button,
input[type="submit"] {
    width: auto;
    padding: 6px 12px;
    border: none;
    border-radius: 4px;
    background: #28a745;
    color: #fff;
    font-size: 0.9rem;
    cursor: pointer;
    display: inline-block;
}

button:hover,
input[type="submit"]:hover {
    background: #1e7e34;
}

.messages {
    margin-bottom: 10px;
}

.error {
    color: #b30000;
    font-size: 0.9rem;
}

.success {
    color: #0a8a0a;
    font-size: 0.9rem;
}

.link {
    text-align: center;
    margin-top: 10px;
    font-size: 0.9rem;
}

a {
    color: #007bff;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

.info {
    font-size: 0.95rem;
    margin-bottom: 12px;
}

.role-message {
    margin: 15px 0;
    padding: 10px 12px;
    border-radius: 4px;
    background: #f0f8ff;
    border: 1px solid #cce0ff;
}

.logout {
    margin-top: 10px;
}

.logout input[type="submit"],
a.button {
    display: inline-block;
    padding: 6px 12px;
    background: #dc3545;
    color: #fff;
    border-radius: 4px;
    text-decoration: none;
    font-size: 0.9rem;
    cursor: pointer;
    border: none;
}

.logout input[type="submit"]:hover,
a.button:hover {
    background: #c82333;
}

.username {
    font-weight: bold;
}

.admin-form {
    margin-top: 20px;
}

.flowers-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 15px;
    font-size: 0.9rem;
}

.flowers-table th,
.flowers-table td {
    border: 1px solid #ddd;
    padding: 6px 8px;
    text-align: left;
}

.flowers-table th {
    background: #f7f7f7;
}

.flower-img {
    max-width: 80px;
    max-height: 80px;
}

.inline-form input[type="text"] {
    width: 80px;
    margin-bottom: 4px;
}

.inline-form button {
    width: auto;
    padding: 4px 8px;
    font-size: 0.8rem;
}
