*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
/* Genel Ayarlar */
body {
  margin: 0;
  padding: 0;
  display: flex;
  height: 100vh;
  font-family: 'Poppins', Arial, sans-serif;
  background: linear-gradient(135deg, #74ebd5 0%, #acb6e5 100%);
  align-items: center;
  justify-content: center;
  transition: opacity 0.4s ease-in-out;
}

body.dark-mode {
  background: url('blackwallpaper.jpg') center center / cover no-repeat;
}

body.light-mode{
  background: url('whitewallpaper.jpg') center center / cover no-repeat;
}

/* Login Container */
#login-container {
  position: relative;
  width: 400px;
  padding: 30px 30px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  text-align: center;
  transition: background-color 0.4s ease-in-out;
}

.theme {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 30px;
  height: 30px;
  border: none;
  cursor: pointer;
  border-radius: 30%;
  transition: background-color 0.4s ease-in-out;
}
.theme i {
  font-size: 20px;
  display: block;
  transition: color 0.4s ease-in-out;
}

body.dark-mode #login-container {
  background-color: rgba(0, 0, 0, 0.5);
}

body.light-mode #login-container{
  background-color: rgba(255, 255, 255, 0.5);
}

body.light-mode .theme{
  background-color: #333;
}

body.dark-mode .theme{
  background-color: #bebebe;
}

body.light-mode .theme i{
  color: #bebebe;
}

body.dark-mode .theme i{
  color: #333;
}

/* Başlık */
h1 {
  padding-bottom: 10px;
  font-weight: 600;
}

body.dark-mode h1{
  color: #bebebe ;
}
body.light-mode h1{
  color: #333;
}

/* Butonlar */
.login-button {
  display: block;
  width: 100%;
  padding: 12px;
  margin-bottom: 5px;
  border: none;
  border-radius: 5px;
  font-family: 'Poppins', Arial, sans-serif;
  font-size: 16px;
  cursor: pointer;
  transition: background-color 0.3s, transform 0.2s;
}

.login-button:hover {
  transform: translateY(-2px);
}

/* Microsoft Button */
.microsoft {
  background-color: #0078d7;
  color: white;
}

.microsoft:hover {
  background-color: #006cbe;
}

/* Guest Name Input */
.guest-name {
  display: block;
  width: 100%;
  padding: 6px 12px;
  margin-bottom: 5px;
  font-family: 'Poppins', Arial, sans-serif;
  font-size: 16px;
  border: 1px solid rgba(0, 0, 0, 0.2);
  border-radius: 5px;
  background-color: rgba(255, 255, 255, 0.8);
  transition: border-color 0.3s ease, box-shadow 0.2s ease;
}

.guest-name:focus {
  outline: none;
  border-color: #0078d7;
  box-shadow: 0 0 0 3px rgba(0, 120, 215, 0.2);
}

/* Guest Button */
.guest {
  background-color: #555;
  color: white;
}

.guest:hover {
  background-color: #444;
}

/* Disabled buton stili */
.guest.disabled {
  opacity: 0.5;
  cursor: not-allowed;
  pointer-events: none;
}

.error{
  display: flex;    
  justify-content: center;
  text-align: center; 
  height: 30px;
  padding: 5px;
}

.error p {
  color: red;
  font-size: 14px;
  margin-bottom: 5px;
}


