body {
	font-family: Arial, sans-serif;
	background: #f4f4f9;
	margin: 0;
	padding: 20px;
}
.container {
	width: 90%;
	margin: auto;
	background: white;
	padding: 20px;
	border-radius: 8px;
	box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}
.view {
    display: none;
}
.view.active {
    display: block;
}
header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	border-bottom: 2px solid #eee;
	margin-bottom: 20px;
	color: white;
}
#mainMenu {
    display: flex;
    gap: 8px;

    padding: 10px 0;
    margin-bottom: 10px;
}
table {
	width: 100%;
	border-collapse: collapse;
	margin-top: 15px;
}
th, td {
	border: 1px solid #ddd;
	padding: 8px;
	text-align: center;
}
th {
	background-color: #f2f2f2;
}
td input[type="text"] {
	width: 90%;
	padding: 4px;
}

.combinedCell{
	display: flex;
	align-items: center;
	gap: 8px;
}

.combinedCell input[type="text"],
.combinedCell button {
  box-sizing: border-box;
  height: 36px;
  padding: 6px 12px;
  vertical-align: middle;
  margin: 0px !important;
}

.saved-cell {
    background-color: #e6f5e9;
    color: #2e7d32;
    font-weight: bold;
    text-align: center;
    font-size: 1.1em;
}
		
.events-container {
	width: 80%;
	max-width: 1200px;
	min-width: 600px;
}
.event-card {
	font-size: 14px;
	background: #fafafa;
	border: 1px solid #ccc;
	padding: 15px;
	margin-bottom: 20px;
	border-radius: 6px;
}
.general-info {
	margin-top: 15px;
	background: #eef;
	padding: 8px;
	border-radius: 4px;
}
input[type="text"], input[type="password"], textarea {
	width: 100%;
	padding: 8px;
	margin: 5px 0 15px 0;
	box-sizing: border-box;
}
button {
	background: #007BFF;
	color: white;
	border: none;
	padding: 10px 15px;
	cursor: pointer;
	border-radius: 4px;
}
button:hover {
	background: #0056b3;
}
.admin-link {
	color: #007BFF;
	text-decoration: none;
	font-size: 0.9rem;
	margin-left: 20px;
}
.save-row-btn {
	background-color: #17a2b8;
	padding: 5px 10px;
	font-size: 0.85rem;
}
.green-row {
	background-color: #D8F5BF !important;
}
.red-row {
	background-color: #FF7D7D !important; /* Light red */
}
.pushStatus {
	width: 50%;
	max-width: 1200px;
	min-width: 400px;
	margin-top: 4px;
	background-color: #DADADA !important;
	border-radius: 6px;
	padding: 8px;
}
.notification-active {
	width: 200px;
}
.cookie-info {
    display: none;
    position: fixed;
    left: 50%;
    bottom: 20px;
    transform: translateX(-50%);
    width: calc(100% - 40px);
    max-width: 650px;
    box-sizing: border-box;
    padding: 15px 18px;
    background: rgba(255, 255, 255, 0.96);
    color: #222;
    border: 1px solid #aaa;
    border-radius: 8px;
    box-shadow: 0 3px 12px rgba(0,0,0,0.25);
    z-index: 10000;
    display: none;
    align-items: center;
    gap: 15px;
}
.cookie-info-text {
    flex: 1;
    line-height: 1.4;
}
.cookie-info button {
    flex: 0 0 auto;
    padding: 7px 18px;
}
.login-view {
    min-height: 70vh;
    display: flex;
    justify-content: center;
    align-items: center;
}

.login-box {
    width: calc(100% - 40px);
    max-width: 340px;
    box-sizing: border-box;

    padding: 25px;

    background: rgba(255,255,255,0.94);
    border-radius: 10px;

    box-shadow: 0 4px 15px rgba(0,0,0,0.25);

    text-align: center;
}

.login-box h2 {
    margin-top: 0;
}

.login-box input {
    display: block;
    width: 100%;
    box-sizing: border-box;

    margin: 10px 0;
    padding: 10px;

    font-size: 16px;
}

.login-box button {
    margin-top: 8px;
    padding: 9px 20px;
}

#loginError {
    min-height: 20px;
    margin-top: 12px;
}

#pushControls {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 6px;
}

#adminSubnav {
    align-items: center;
    gap: 6px;
}

.main-tab {
    background: #007bff;
    color: white;
    border: none;
    border-radius: 4px;
    padding: 10px 15px;
    cursor: pointer;
}

.main-tab.active {
    background: #0056b3;
}