body {
  margin: 0;
  font-family: Arial, sans-serif;
}

.content {
  padding: 30px;
  padding-bottom: 100px; /* space for footer */
  box-sizing: border-box;
}

.crm-footer {
    background: linear-gradient(to right, #3498db, #007bff);  color: white;
  padding: 10px 20px;
  font-size: 14px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100vw;
  z-index: 999;
  box-shadow: 0 -1px 5px rgba(0,0,0,0.2);
  box-sizing: border-box;
}

.crm-footer a {
  color: #fff;
  text-decoration: none;
  margin-left: 10px;
  cursor: pointer;
}

.crm-footer a:hover {
  text-decoration: underline;
}

@media screen and (max-width: 768px) {
  .crm-footer {
    flex-direction: column;
    text-align: center;
    gap: 5px;
  }
}

/* Modal Overlay */
.crm-modal {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100vw;
  height: 100vh;
  overflow: auto;
  background-color: rgba(0,0,0,0.5);
  animation: fadeIn 0.3s ease;
}

/* Modal Content */
.crm-modal-content {
  background-color: #fff;
  margin: 10% auto;
  padding: 20px;
  border-radius: 8px;
  width: 90%;
  max-width: 500px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.3);
  box-sizing: border-box;
  position: relative;
  animation: slideDown 0.3s ease;
  color: black;
}

/* Close Button */
.close {
  color: #aaa;
  float: right;
  font-size: 28px;
  font-weight: bold;
}

.close:hover,
.close:focus {
  color: black;
  text-decoration: none;
  cursor: pointer;
}

/* Inputs */
input, textarea {
  width: 100%;
  padding: 8px;
  margin: 10px 0;
  border: 1px solid #ccc;
  border-radius: 4px;
  box-sizing: border-box;
}

/* Button */
button {
  background-color: #0052cc;
  color: white;
  border: none;
  padding: 10px 20px;
  border-radius: 4px;
  cursor: pointer;
}

button:hover {
  background-color: #003f99;
}

/* Animations */
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes slideDown {
  from { transform: translateY(-30px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}
