@charset "UTF-8";

/* Global box-sizing fix */
*,
*::before,
*::after {
  box-sizing: border-box;
}

/* Base styles */
body {
  font-family: Consolas, Montserrat, Arial, sans-serif;
  background-color: #f6f8fa;
  margin: 0;
  padding: 2rem;
  color: #333;
  line-height: 1.6;
  overflow-x: hidden;
}

.container {
  max-width: 700px;
  margin: auto;
  background: #fff;
  padding: 2rem;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

h1,
h2,
h3,
h4,
h5,
h6 {
  color: #333;
  margin-top: 1.5rem;
  margin-bottom: 1rem;
}

h1 {
  text-align: center;
  font-size: 2rem;
}

p {
  margin-bottom: 1rem;
}

a {
  color: #0091d1;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

ul,
ol {
  padding-left: 1.5rem;
  margin-bottom: 1rem;
}

ul {
  list-style: disc;
}

ol {
  list-style: decimal;
}

li {
  padding: 0.5rem 0;
  border-bottom: 1px solid #e0e0e0;
  cursor: pointer;
  color: #0091d1;
  transition: background-color 0.2s ease;
}

li:hover {
  background-color: #f0f4f8;
}

blockquote {
  margin: 1rem 0;
  padding: 1rem;
  background-color: #f0f4f8;
  border-left: 4px solid #0091d1;
  color: #555;
}

code {
  background: #f3f4f6;
  padding: 0.2rem 0.4rem;
  border-radius: 4px;
  font-family: Consolas, monospace;
  font-size: 0.95rem;
}

pre {
  background: #f3f4f6;
  padding: 1rem;
  border-radius: 6px;
  overflow-x: auto;
  font-family: Consolas, monospace;
}

table {
  width: 100%;
  border-collapse: collapse;
  margin: 1rem 0;
}

th,
td {
  padding: 0.75rem;
  border: 1px solid #e0e0e0;
  text-align: left;
}

th {
  background-color: #f0f4f8;
}

button {
  background-color: #0091d1;
  color: #fff;
  padding: 0.5rem 1rem;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  font-size: 1rem;
  transition: background-color 0.2s ease;
  font-family: Consolas, Montserrat, Arial, sans-serif;
}

button:hover {
  background-color: #0256b3;
}

input[type="text"],
input[type="email"],
input[type="password"],
textarea {
  width: 100%;
  padding: 0.5rem;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: 1rem;
  margin-bottom: 1rem;
  box-sizing: border-box;
}

input[type="file"] {
  display: block;
  width: 100%;
  padding: 0.5rem 0;
  font-size: 1rem;
  color: #333;
  background-color: #fff;
  border: 1px solid #ccc;
  border-radius: 6px;
  margin-bottom: 1rem;
  padding-left: 5px;
  cursor: pointer;
  box-sizing: border-box;
}

input[type="file"]::file-selector-button {
  background-color: #0091d1;
  color: white;
  border: none;
  padding: 0.4rem 1rem;
  border-radius: 6px;
  cursor: pointer;
  transition: background-color 0.2s ease;
  font-family: Consolas, Montserrat, Arial, sans-serif;
}

input[type="file"]::file-selector-button:hover {
  background-color: #0256b3;
}

#success-message,
#info-message {
  position: fixed;
  bottom: 30px;
  right: 30px;
  padding: 12px 18px;
  border-radius: 8px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
  display: none;
  font-weight: bold;
  z-index: 1000;
  color: white;
}

#success-message {
  background: #28a745;
}

#info-message {
  background: #1ac7e5;
}

/* Mobile responsiveness */
@media (max-width: 768px) {
  body {
    padding: 1rem;
  }

  .container {
    padding: 1rem;
    max-width: 100%;
    margin: 0;
  }

  h1 {
    font-size: 1.5rem;
  }

  button {
    width: 100%;
    padding: 0.75rem;
    font-size: 1.1rem;
  }

  input[type="text"],
  input[type="email"],
  input[type="password"],
  textarea,
  input[type="file"] {
    width: 100%;
    font-size: 1rem;
    box-sizing: border-box;
  }

  table {
    font-size: 0.9rem;
  }

  th, td {
    padding: 0.6rem;
  }

  #success-message,
  #info-message {
    bottom: 20px;
    right: 20px;
    padding: 10px 15px;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 1rem 0.5rem;
  }

  h1 {
    font-size: 1.25rem;
  }

  button {
    padding: 0.5rem;
  }

  input[type="text"],
  input[type="email"],
  input[type="password"],
  textarea,
  input[type="file"] {
    font-size: 1rem;
  }
}
