@charset "utf-8";
/* Fully Responsive Admin CSS */

   body {
      margin: 0;
      padding: 0;
      font-family: sans-serif;
      min-height: 100vh;
      display: flex;
      flex-direction: column;
    }
main {
  max-width: 1200px;
  margin: 0 auto;
}
    main {
      flex: 1;
      padding: 20px;
    }

    .dashboard-footer {
      text-align: center;
      font-size: 12px;
      color: #666;
      padding: 15px 0;
      border-top: 1px solid #ddd;
      background-color: #f9f9f9;
    }

    .dashboard-footer a {
      color: #0077cc;
      text-decoration: none;
    }

    .dashboard-footer a:hover {
      text-decoration: underline;
    }

h2, h3 {
  color: #333;
    /*  color: #F1F1F1;*/
    text-align: center;
}

form {
    background: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 0 5px rgba(0,0,0,0.1);
    margin-bottom: 40px;
}

input[type="text"],
input[type="password"],
input[type="url"],
textarea {
    width: 100%;
    padding: 10px;
    margin-top: 4px;
    margin-bottom: 15px;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-sizing: border-box;
    color: #000000;
}

input[type="submit"] {
    max-width: 200px;
    padding: 12px;
    background: #0077cc;
    border: none;
    color: white;
    border-radius: 4px;
    cursor: pointer;
    font-size: 16px;
    
}

input[type="submit"]:hover {
    background: #005fa3;
}

table {
    width: 100%;
    background: white;
    border-collapse: collapse;
    margin-top: 20px;
    box-shadow: 0 0 4px rgba(0,0,0,0.05);
}

table th, table td {
    padding: 12px;
    border: 1px solid #ddd;
    text-align: left;
}

table th {
    background: #f0f0f0;
}

a {
    color: #0077cc;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

.log-me-in {
    max-width: 400px;
    margin: 0 auto;
    background: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 0 5px rgba(0,0,0,0.1);
    margin-bottom: 40px;
    box-sizing: border-box;
}

.log-me-in img {
    display: block;
    width: 80px;
    height: auto;
    margin: 0 auto 20px;
}

.d52-icon {
    text-align: right;
    padding: 10px;
}

.d52-icon img {
    width: 50px;
    height: auto;
}

/* Media Queries for Responsiveness */
@media screen and (max-width: 768px) {
    body {
        margin: 15px;
    }

    .log-me-in {
        padding: 15px;
        margin: 15px auto;
        width: 90%;
    }

    h2, h3 {
        font-size: 1.6rem;
    }

    table, table th, table td {
        font-size: 15px;
    }
}

@media screen and (max-width: 480px) {
    body {
        margin: 10px;
    }

    .log-me-in {
        padding: 10px;
        width: 100%;
    }

    input[type="submit"] {
        font-size: 14px;
        padding: 10px;
    }

    h2, h3 {
        font-size: 1.3rem;
    }

    table, table th, table td {
        font-size: 13px;
    }

    .d52-icon {
        text-align: center;
        padding: 5px;
    }

    .d52-icon img {
        width: 40px;
    }
}

.sub-btn {
    max-width: 200px; text-align: center; 
}




.dashboard-footer {
  text-align: center;
  font-size: 12px;
  color: #666;
  padding: 15px 0;
  margin-top: 40px;
  border-top: 1px solid #ddd;
  background-color: #f9f9f9;
}

.dashboard-footer a {
  color: #0077cc;
  text-decoration: none;
}

.dashboard-footer a:hover {
  text-decoration: underline;
}

.notification.success {
  background-color: #d4edda;
  color: #155724;
  padding: 12px;
  border-left: 5px solid #28a745;
  margin-bottom: 15px;
  border-radius: 5px;
  font-weight: bold;
}

.cancel-button {
      max-width: 200px;
    padding: 12px;
    background: #0077cc;
    border: none;
    color: white;
    border-radius: 4px;
    cursor: pointer;
    font-size: 16px;
    
}

.cancel-button:hover {
  background-color: #bbb;
}

.file-upload {
  position: relative;
  display: inline-block;
  overflow: hidden;
  cursor: pointer;
  background-color: #0077cc;
  color: #fff;
  padding: 10px 18px;
  border-radius: 6px;
  font-size: 14px;
  font-family: sans-serif;
  transition: background-color 0.3s ease;
}

.file-upload:hover {
  background-color: #005fa3;
}

.file-upload input[type="file"] {
  position: absolute;
  left: 0;
  top: 0;
  opacity: 0;
  cursor: pointer;
  height: 100%;
  width: 100%;
}

.file-upload span {
  pointer-events: none;
  font-weight: 600;
}

label[for="image"] i {
  color: #0077cc;
  margin-right: 6px;
  font-size: 16px;
}




.editor-preview-container {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

.editor-pane {
  flex: 1 1 60%;
  min-width: 300px;
}

.preview-pane {
  flex: 1 1 38%;
  min-width: 280px;
  
}
