@import url('https://fonts.googleapis.com/css2?family=Roboto');

:root {
    --primary-color: #003D79;
    --secondary-color: #002C57;
    --background-color: #f8f9fa;
    --form-border-color: #ccc;
    --table-border-color: #ddd;
    --modal-border-color: #888;
}

body::before {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background: rgba(255, 255, 255, 0.8); /* Adjust the color and opacity as needed */
    z-index: -1; /* Ensures the overlay is behind the content */
}

body {
    font-family: 'Roboto', sans-serif;
  	font-size: 18px;
  	
    margin: 0;
    padding: 0;
    background-color: var(--background-color);
  	display: flex;
    flex-direction: column;
    min-height: 100vh;
    background-image: url('242.jpg');
	background-repeat: repeat; /* or no-repeat, repeat-x, repeat-y */
	background-size: 50px 50px;
  	position: relative;
}

h1 {
    text-align: center;
    padding: 20px;
    background-color: var(--primary-color);
    color: white;
}



#buttonContainer {
    display: flex;
    justify-content: space-between;
    padding: 20px;
}

#contactButton {
    width: 30%;
  align-self: center;
}

footer {
    background-color: var(--primary-color);
    color: white;
    padding: 10px;
    text-align: center;
    margin-top: auto;
}


button, input[type=submit] {
    width: 100px;
    background-color: var(--primary-color);
    color: white;
    padding: 10px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    margin: 5px;
  	transition: background-color 0.3s ease;
  	box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
}

button:hover, input[type=submit]:hover {
    background-color: var(--secondary-color);
}

.removeButton {
    width: 50%;
}

form {
    max-width: 600px;
    margin: 20px auto;
    padding: 20px;
    border: 1px solid var(--form-border-color);
    border-radius: 4px;
}

input[type=text], textarea {
    width: 100%;
    padding: 12px;
    margin: 8px 0;
    display: inline-block;
    border: 1px solid var(--form-border-color);
    border-radius: 4px;
    box-sizing: border-box;
  	font-size: 16px;
}

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

table, th, td {
    border: 1px solid var(--table-border-color);
    padding: 8px;
}

th {
    background-color: var(--primary-color);
    color: white;
}

.modal {
    display: none; 
    position: fixed;
    z-index: 1;
    padding-top: 100px; 
    left: 0;
    top: 0;
    width: 100%; 
    height: 100%;
    overflow: auto;
    background-color: rgba(0,0,0,0.4);
}

.modal-content {
    background-color: #fefefe;
    margin: auto;
    padding: 20px;
    border: 1px solid var(--modal-border-color);
    width: 80%;
  	box-shadow: 0px 8px 16px rgba(0, 0, 0, 0.2);
}

.close {
    color: #aaaaaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
}

.close:hover, .close:focus {
    color: #000;
    text-decoration: none;
    cursor: pointer;
}

#logTitle {
	padding: 20px;
}

.actionColumn {
	display: flex;
    justify-content: center;
    align-items: center;
}

#error {
    height: 100px;
}

#visibilityToggleForm {
    max-width: 600px;
    margin: 20px auto;
    padding: 20px;
    border: 1px solid var(--form-border-color);
    border-radius: 4px;
    justify-content: space-between;
}

#visibilityToggleForm label:first-of-type {
    padding-left: 20px;  /* Adjust this value as per your design preference */
}

#visibilityToggleForm label {
    padding-right: 20px;  /* Adjust this value as per your design preference */
}

#snapshotsContainer {
	align-self: center;
	padding: 25px;
}

.memoryItem {
	margin: 20px 0 0 0;
    padding: 20px;
    border: 1px solid var(--form-border-color);
    border-radius: 4px;
    justify-content: space-between;
}

#deviceStorage {
	padding: 25px;
}

.snapshotLowerDiv {
	display: flex;
  	flex-direction: column;
  	align-items: baseline;
	padding-top: 0;
  	justify-content: space-between;
}

.snapshotKey {
	font-style: italic;
  	color: gray;
  	font-size: 10px;
}

p[contenteditable="true"] {
    border: 0px solid #003D79;
    padding: 10px;
    min-height: 20px;
  	background-color: #C3DCF4;
  	color: #003D79;
  	width: 50%;
  	border-radius: 5px;
}

p[contenteditable="true"]:focus {
    border-color: #66afe9;
  	border: 1px solid;
    outline: none;
  border-radius: 5px;
}

.importedTag {
	background-color: var(--primary-color); color: white; border-radius: 5px; display: inline-block; padding: 5px; cursor: default;
}

.importDiv {
	align-self: center;
}

#importDiv {
	align-self: center;
}

.snapshotTitle {
	font-weight: '700';
}