body {
    font-family: Arial, sans-serif;
    margin: 20px;
}

.form-container {
    max-width: 700px;
    margin: 10px auto;
    padding: 20px 50px 70px;
    background-color: #f9f9f9;
    border: 1px solid #ccc;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 70%; 
}

.preview-container {
    max-width: 900px;
    margin: 50px auto;
    padding: 20px 50px 70px;
    background-color: #f9f9f9;
    border: 1px solid #ccc;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.05);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 70%; 
}

.form-preview .form-group {
    display: flex;
    align-items: center;  /* Align label and input vertically */
}

.form-preview label {
    margin-right: 10px;  /* Space between label and input */
    width: auto;        /* Fixed width for label */
    text-align: right;    /* Align text to the right */
    margin-top: 3px;  /* Add spacing between form groups */
    font-size: 12px;


}

.metadata {
    margin-bottom: 50px;  

}

.checkbox-container {
    margin-top: 25px;
    display: flex;    
    align-items: center; /* Aligns items vertically */
    cursor: pointer; /* Changes cursor on hover */
    font-size: 12pt;

  }
  
/* Hide the default checkbox */
input[type="checkbox"] {
    appearance: none;
    -webkit-appearance: none;
    width: 20px;
    height: 20px;
    background-color: #f0f0f0;
    border: 2px solid #ccc;
    border-radius: 4px;
    transition: background-color 0.3s, border-color 0.3s;
    cursor: pointer;
    outline: none;
    position: relative;
  }
  
  /* On hover */
  input[type="checkbox"]:hover {
    border-color: #888;
  }
  
  /* When checked */
  input[type="checkbox"]:checked {
    background-color: #4CAF50;
    border-color: #4CAF50;
  }
  
  /* The tick (checkmark) */
  input[type="checkbox"]:checked::before {
    content: '✔';
    color: white;
    position: absolute;
    left: 4px;
    top: -2px;
    font-size: 16px;
  }
  
  /* Optional: Add focus effect */
  input[type="checkbox"]:focus {
    box-shadow: 0 0 3px #4CAF50;
  }

h1 {
text-align: center;
}

label {
    display: block;
    margin-bottom: 10px;
}

input, textarea {
    width: 93%;
    padding: 10px;
    margin-bottom: 20px;
    border: 1px solid #ccc;
}

button {
    margin: 20px auto;
    padding: 5px 10px;
    background-color: #4CAF50;
    border-radius: 5px;
    color: white;
    border: none;
    cursor: pointer;
    font-size: 12pt;
}

button:hover {
    background-color: #3e8e41;
}

button[type="submit"] {
    margin-top: 20px auto;
    background-color: #4CAF50;
    color: #fff;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    text-align: center;
    width: 40%; 
}

button[type="submit"]:hover {
    background-color: #3e8e41;
}

.email-list {
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 14px;
    display: block; 
    width: 93%;
}

.email-list input {
    padding: 5px;
    border: none;
    border-radius: 5px;
    font-size: 14px;
    width: 90%;
}

.email-list button {
    padding: 5px;
    background-color: rgb(92, 138, 238);
    color: rgb(255, 255, 255);
    border: none;
    border-radius: 5px;
    font-size: 14px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    margin-left: 0; 
    margin-top: 0;
}

.email-list button:hover {
    background-color: #1b0483cb;
}

#email-list li button {
    margin-left: 10px; 
}

.notification-pane {
    display: none; 
    position: fixed; 
    z-index: 1000; 
    left: 0;
    top: 0;
    width: 100%; 
    height: 100%; 
    background-color: rgba(0, 0, 0, 0.7); 
    color: rgb(255, 255, 255); 
    text-align: center; 
    padding: 20px;
}
.notification-content {
    background-color: #49464696; 
    margin: 15% auto; 
    padding: 20px;
    border-radius: 5px;
    width: 300px; 
}

.close-btn {
    background-color: #f44336; 
    color: white; 
    border: none; 
    padding: 10px 10px; 
    cursor: pointer; 
    border-radius: 5px; 
    margin-top: 10px; 
}
.close-btn:hover {
    background-color: #d32f2f;
}

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

#email-table th, #email-table td {
    border: 1px solid #ddd;
    padding: 10px;
    text-align: left;
}

#email-table th {
    background-color: #f0f0f0;
}

#email-table .remove-button {
    background-color: rgb(92, 138, 238);
    border: none;
    padding: 5px 10px;
    cursor: pointer;
}

#email-table .remove-button:hover {
    background-color: #ccc;
}


table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
    padding: 10px;
}

th, td {
    padding: 10px;
    border: 1px solid #ddd;
    text-align: center;
}

th {
    background-color: #f4f4f4;
}

tr:nth-child(even) {
    background-color: #f9f9f9;
}

.badge-image {
    width: 50px;
    height: 50px;
}

.edit-mode {
    display: none;
}

nav {
    background-color: #565661f5;
    max-width: 760px;
    margin: 10px auto;
    padding-left: 20px;
    padding-right: 20px;
    border: 1px solid #ccc;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

nav ul {
    list-style-type: none;
    padding: 0;
}

nav ul li {
    display: inline;
    margin-right: 20px;
}

nav ul li a {
    color: white;
    text-decoration: none;
    font-weight: bold;
}

nav ul li a:hover {
    text-decoration: underline;
}
