html {
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  font-family: Roboto,Arial,Helvetica,sans-serif;
}

*,
*:before,
*:after {
  -webkit-box-sizing: inherit;
  box-sizing: inherit;
  margin: 0;
  padding: 0;
}

*:focus {
  outline: transparent;
}

body,
html {
  width: 100%;
}

a,
button,
input[type="submit"] {
  cursor: pointer;
}

input[type="text"],
button {
  -webkit-appearance: none;
  -webkit-border-radius: 0;
}

a,
a:active,
a:visited {
    text-decoration: none;
    color: inherit
}

/*system_message*/
.system_message {
    align-items: center;
    justify-content: center;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    transition: all ease-in 0.4s;
    background: #fff;
    border-radius: 10px;
    padding: 20px;
    min-height: 80px;
    box-shadow: 0 10px 20px rgba(70, 70, 70, 0.8);
    z-index: 4;
    width: 100%;
    max-width: 400px;
    text-align: center;
    display: flex;
    line-height: 160%;
}

.system_message a {
    margin: 0 5px;
    color: rgb(132, 172, 206);
}

.system_message .close {
    position: absolute;
    color: red;
    right: 5px;
    top: 5px;
    font-size: 1rem;
    border: none;
    background: none;
}

/* CRUD Layout Styles */
.crud-wrapper, .form-wrapper {
    max-width: 1000px;
    margin: 40px auto;
    padding: 20px;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}

.form-wrapper {
    max-width: 600px;
}

.crud-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.crud-table {
    width: 100%;
    border-collapse: collapse;
}

.crud-table th, .crud-table td {
    padding: 12px;
    text-align: left;
    border-bottom: 1px solid #eee;
}

.crud-table th {
    background-color: #f8f9fa;
    font-weight: bold;
}

/* Form Styles */
.form-group {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  margin-bottom: 10px;
  flex-wrap: wrap;
  gap: 10px;
}

.form-group input[type=text],
.form-group input[type=email],
.form-group input[type=number],
.form-group input[type=password] {
  border: 1px solid #aaa;
  padding: 2px 4px;
  font-size: 1rem;
}

.form-group label small {
    color: #888;
    font-weight: normal;
}

.form-actions {
    margin-top: 20px;
    display: flex;
    gap: 10px;
}

/* Button Styles */
.btn {
    display: inline-block;
    padding: 10px 15px;
    text-align: center;
    border-radius: 4px;
    border: none;
    font-size: 14px;
    transition: background 0.3s;
}

.btn-primary { background: #007bff; color: #fff; }
.btn-primary:hover { background: #0056b3; }

.btn-secondary { background: #6c757d; color: #fff; }
.btn-secondary:hover { background: #5a6268; }

.btn-sm { padding: 5px 10px; font-size: 12px; }
.btn-edit { background: #ffc107; color: #000; }
.btn-delete { background: #dc3545; color: #fff; }body {
    background-color: #f4f7f6;
}

.login-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    padding: 20px;
}

.login-container {
    background: #fff;
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    width: 100%;
    max-width: 400px;
}

.login-container h2 {
    text-align: center;
    margin-bottom: 25px;
    color: #333;
}

.form-group {
    margin-bottom: 15px;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    font-size: 14px;
    color: #666;
}

.form-group input {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 15px;
    transition: border-color 0.3s;
}

.form-group input:focus {
    border-color: #007bff;
}

.login-btn {
    width: 100%;
    padding: 12px;
    background-color: #007bff;
    border: none;
    color: white;
    font-size: 16px;
    border-radius: 4px;
    margin-top: 10px;
    transition: background-color 0.3s;
}

.login-btn:hover {
    background-color: #0056b3;
}