* { -moz-box-sizing: border-box; -webkit-box-sizing: border-box; box-sizing: border-box; }

@-ms-viewport { width: device-width; }
/* Google Fonts */
@import url('https://fonts.googleapis.com/css?family=Raleway');


/* General Styles */
* {
  -moz-box-sizing: border-box;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
}

html, body {
  height: 100%;
  margin: 2vh;
  font-size: 100%;
  font-family: 'Raleway', sans-serif;
  color: #333; 
  background-color: #f5f5f5; 
}

/* Table Styles */
#formtable {
  width: 100%;
  border-collapse: collapse;
}

#formtable th, #formtable td {
  border: 1px solid #ddd;
  padding: 1.5vw; 
  text-align: left;
}

#formtable tr:nth-child(even) {
  background-color: #f2f2f2;
}

#formtable tr:hover {
    background-color: #C0FFC0;
}


/* Button Styles */
#Logoff, #CreateForm, #ImportForm, #Exportform {
  padding: 1vw 2vw; 
  border: none;
  border-radius: 4px;
  background-color: #0094B3;
  color: #fff; 
  cursor: pointer;
  transition: background-color 0.2s ease;
}

#Logoff:hover, #CreateForm:hover, ImportForm:hover, #Exportform:hover {
  background-color: #007BFF; /* Darker blue on hover */
}


body {
  line-height: 1.6;
}

h2 {
  font-size: 1.5em;
}

#createlogoff, #formlisttable, #backup {
  margin-bottom: 2vw;
}

.form-input {
  border: 1px solid #ddd; 
  border-radius: 4px; 
  padding: 1vw; 
  width: 100%; 
  margin-bottom: 1vw; 
}

.label-input {
  border: none; 
  border-radius: 4px; 
  padding: 1vw; 
  width: 100%; 
  margin-bottom: 1vw; 
}

.form-button {
  padding: 1vw 2vw;
  border: none;
  border-radius: 4px;
  background-color: #0094B3; 
  color: #fff;
  cursor: pointer;
  transition: background-color 0.2s ease;
  width: 100%;
}

.form-button:hover {
  background-color: #007BFF; 
}


.form-container {
  width: 100%;
  margin: auto;
}

.flex-buttons {
  display: flex;
  justify-content: space-between;
  margin-top: 4vw; 
}

.button-width {
  width: 45%;
}

