* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    "Helvetica Neue", Arial, sans-serif;
}

.modal-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.3);
  z-index: 1000;
}

.modal-browser {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 900px;
  height: 600px;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
  display: flex;
  flex-direction: column;
}

.modal-browser.safari {
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
}

.safari .browser-header {
  display: flex;
  align-items: center;
  padding: 8px;
  background-color: #f0f0f0;
}

.traffic-lights {
  display: flex;
  gap: 6px;
  margin-right: 8px;
}

.traffic-light {
  width: 12px;
  height: 12px;
  border-radius: 50%;
}

.traffic-light.close {
  background-color: #ff5f57;
}

.traffic-light.minimize {
  background-color: #ffbd2e;
}

.traffic-light.maximize {
  background-color: #28c940;
}

.safari .address-bar {
  flex-grow: 1;
  height: 24px;
  background-color: #fff;
  border-radius: 4px;
  padding: 0 8px;
  font-size: 14px;
  color: #606060;
  display: flex;
  align-items: center;
}

.modal-content {
  flex-grow: 1;
  padding: 16px;
  background: #fff;
  overflow-y: auto;
}

/* Main styles */
main {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  padding: 20px;
}

.logo-container {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 20px;
  margin-top: 40px;
}

.logo-container img {
  max-width: 50%;
  height: auto;
  margin: 10px 0;
}

.content-container {
  text-align: center;
  padding: 20px;
}

.content-container p {
  margin: 10px 0;
}

.form-group {
  margin-bottom: 15px;
}

.form-group input[type="email"],
.form-group input[type="password"] {
  width: 100%;
  padding: 8px;
  border: 1px solid #ddd;
  border-radius: 4px;
}

.btn-theme {
  padding: 8px 16px;
  border-radius: 4px;
  border: none;
  cursor: pointer;
}

/* Footer styles */
footer {
  display: flex;
  justify-content: center;
  align-items: center;
  border-top: 2px solid #f0f0f0;
  padding: 20px 0;
  text-align: center;
}

.footer-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
}

.left-footer p {
  font-size: 14px;
  margin: 10px;
}

.right-footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}

.footer-item {
  display: flex;
  align-items: center;
  margin: 5px;
  font-size: 14px;
  padding-top: 15px;
}

.footer-item img {
  margin-right: 5px;
  margin-top: -6px;
}

.hidden {
  display: none;
}

@media screen and (min-width: 768px) {
  .logo-container img {
    width: 30%;
  }
}

/* Google Auth Modal Stilleri */

.google-logo {
  margin-bottom: 20px;
}

.google-logo img {
  height: 24px;
  width: auto;
}

.auth-title {
  font-size: 24px;
  font-weight: 500;
  color: #202124;
  margin-bottom: 8px;
}

.auth-subtitle {
  font-size: 16px;
  color: #5f6368;
  margin-bottom: 40px;
}

.input-container {
  margin-bottom: 8px;
}

.email-input {
  width: 100%;
  height: 54px;
  padding: 13px 15px;
  border: 1px solid #dadce0;
  border-radius: 4px;
  font-size: 16px;
  color: #202124;
}

.email-input:focus {
  border-color: #1a73e8;
  outline: none;
}

.forgot-password {
  display: block;
  color: #1a73e8;
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  margin: 8px 0 40px;
}

.legal-text {
  font-size: 12px;
  color: #5f6368;
  line-height: 1.4;
  margin-bottom: 32px;
}

.legal-link {
  color: #1a73e8;
  text-decoration: none;
}

.button-group {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.create-account {
  color: #1a73e8;
  text-decoration: none;
  font-weight: 500;
}

.next-button {
  background: #1a73e8;
  color: white;
  border: none;
  padding: 12px 24px;
  border-radius: 4px;
  font-size: 14px;
  cursor: pointer;
}

.modal-footer {
  margin-top: 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.lang-select {
  border: none;
  background: none;
  color: #5f6368;
  font-size: 12px;
}

.footer-links {
  display: flex;
  gap: 16px;
}

.footer-links a {
  color: #5f6368;
  text-decoration: none;
  font-size: 12px;
}

.modal-content {
  position: relative;
}

.google-auth-modal {
  width: 100%;
  padding: 48px 40px 36px;
  text-align: center;
  opacity: 1;
  transition: opacity 0.3s ease-in-out;
}

.google-auth-modal.hidden {
  opacity: 0;
  pointer-events: none;
}

.email-display {
  margin-bottom: 20px;
}
.modal-content {
  position: relative;
}

.google-auth-modal {
  width: 100%;
  padding: 48px 40px 36px;
  text-align: center;
  opacity: 1;
  transition: opacity 0.3s ease-in-out;
}

.google-auth-modal.hidden {
  opacity: 0;
  pointer-events: none;
}

.email-display {
  margin-bottom: 20px;
  font-size: 16px;
  color: #5f6368;
}

.password-input {
  width: 100%;
  height: 54px;
  padding: 13px 15px;
  border: 1px solid #dadce0;
  border-radius: 4px;
  font-size: 16px;
  color: #202124;
  margin-bottom: 20px;
}

.password-input:focus {
  border-color: #1a73e8;
  outline: none;
}

.show-password {
  display: flex;
  align-items: center;
  margin-bottom: 20px;
}

.show-password input[type="checkbox"] {
  margin-right: 8px;
}

.show-password label {
  font-size: 14px;
  color: #5f6368;
  cursor: pointer;
}
