/* General Styles */
body {
  font-family: Arial, sans-serif;
  margin: 0;
  padding: 0;
  background-color: #f4f4f9;
  color: #333;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
 
}


/* Header */
header {
  background-color: #4CAF50;
  color: white;
  padding: 20px 0;
  text-align: left;
}

header h1 {
  margin: 0;
  font-size: 2.5rem;
  color:white;
}

header p {
  margin: 5px 0 0;
  font-size: 1.2rem;
}

header .container{
    color: white;
}

header .container-signin

/* Main Content */
main {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

.content-wrapper {
  display: flex;
  gap: 40px;
  width: 100%;
  max-width: 1200px;
}

/* Calculator Section (Middle) */
.calculator-section {
  flex: 1;
  max-width: 300px; /* Smaller calculator */
}

.calculator-container {
  background-color: white;
  padding: 15px;
  border-radius: 8px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

#display {
  width: 100%;
  padding: 10px;
  font-size: 1.2rem;
  text-align: right;
  border: 1px solid #ccc;
  border-radius: 4px;
  background-color: #f9f9f9;
  margin-bottom: 10px;
  box-sizing: border-box;
}

.buttons {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
}

.buttons button {
  padding: 15px;
  font-size: 1rem;
  border: none;
  border-radius: 4px;
  background-color: #e0e0e0;
  cursor: pointer;
  transition: background-color 0.3s;
}

.buttons button:hover {
  background-color: #d0d0d0;
}

.buttons .equals {
  grid-column: span 2;
  background-color: #4CAF50;
  color: white;
}

.buttons .equals:hover {
  background-color: #45a049;
}

/* Search Section (Right) */
.search-section {
  flex: 1;
  max-width: 400px;
}

.search-section h2 {
  margin-top: 0;
}

.search-box {
  display: flex;
  gap: 10px;
  align-items: center;
}

#search-bar {
  flex: 1;
  padding: 8px;
  font-size: 1rem;
  border: 1px solid #ccc;
  border-radius: 4px;
  width: 30vh;
}

.search-section button {
  padding: 8px 15px;
  font-size: 1rem;
  border: none;
  border-radius: 4px;
  background-color: #4CAF50;
  color: white;
  cursor: pointer;
  transition: background-color 0.3s;
}

.search-section button:hover {
  background-color: #45a049;
}

.search-results {
  margin-top: 10px;
}

/* Search Section (Right) */
.right-section {
    flex: 1;
    margin: 5px, 0px,0px,20px;
}

/* Footer */
footer {
  background-color: #333;
  color: white;
  text-align: center;
  padding: 20px 0;
  margin-top: auto;
}

.footer-links {
  margin-bottom: 10px;
}

.footer-links a {
  color: white;
  text-decoration: none;
  margin: 0 10px;
}

.footer-links a:hover {
  text-decoration: underline;
}

.footer-description {
  margin-top: 10px;
  font-size: 0.9rem;
  color: #ccc;
}

/* Responsive Design */
@media (max-width: 768px) {
  .content-wrapper {
    flex-direction: column;
    align-items: center;
    gap: 20px;
  }

  .calculator-section,
  .search-section {
    max-width: 100%;
  }

  .search-box {
    flex-direction: column;
    gap: 10px;
  }

  #search-bar {
    width: 100%;
  }

  .search-section button {
    width: 100%;
  }
}
