/*
Projekts: A&M Banka
Fails: style.css
Izveidots: 2025-09-11
Versija: 1.0
Autori: Alise Vecrumba, Margarita Kaznovska
Pēdējās izmaiņas: 2025-09-25
Izmaiņas veica: Alise Vecrumba, Margarita Kaznovska
Izmaiņas komentārs: Mainījām izmērus logam, pogām un tekstam. Veidojam mazu dizainu. Darījām, lai izskatās skaisti.  
Komentāri: Stili priekš navigācijas, konteineriem, formām un profila lapas.
*/
body { 
  font-family: Arial, sans-serif; 
  background: #f5f5f5; 
  margin: 0; 
  color: #333; 
} 
 
/* ======= Navigācija ======= */ 
nav { 
  background: #0077cc; 
  padding: 12px 20px; 
  display: flex; 
  justify-content: space-between; 
  align-items: center; 
} 
 
.brand { 
  color: white; 
  font-size: 20px; 
  font-weight: bold; 
} 
 
/* Šaurā poga navigācijā (index.html) */ 
.nav-right { 
  margin-left: auto; 
} 
 
.nav-btn { 
  background: #005fa3; 
  color: white; 
  border: none; 
  border-radius: 6px; 
  cursor: pointer; 
  padding: 8px 14px; 
  font-size: 15px; 
  font-weight: bold; 
} 
 
.nav-btn:hover { 
  background: #004080; 
} 
 
/* Parastās navigācijas pogas dropdown */ 
.dropbtn { 
  background: #0077cc; 
  color: white; 
  font-weight: bold; 
  border: none; 
  cursor: pointer; 
  padding: 10px 20px; 
  border-radius: 6px; 
  font-size: 16px; 
} 
 
.dropbtn:hover { 
  background-color: #005fa3; 
} 
 
.dropdown { 
  position: relative; 
  display: inline-block; 
} 
 
.dropdown-content { 
  display: none; 
  position: absolute; 
  right: 0; 
  background-color: white; 
  min-width: 160px; 
  box-shadow: 0 4px 12px rgba(0,0,0,0.1); 
  border-radius: 6px; 
  z-index: 1; 
} 
 
.dropdown-content a { 
  color: #333; 
  padding: 12px 16px; 
  text-decoration: none; 
  display: block; 
  border-bottom: 1px solid #eee; 
  font-size: 15px; 
} 
 
.dropdown-content a:hover { 
  background-color: #f2f2f2; 
} 
 
.dropdown:hover .dropdown-content { 
  display: block; 
} 
 
/* ======= Konteineri ======= */ 
.container { 
  background: #fff; 
  padding: 40px; 
  border-radius: 12px; 
  box-shadow: 0 4px 12px rgba(0,0,0,0.1); 
  width: 380px; 
  max-width: 90%; 
  text-align: center; 
  margin: 80px auto; 
} 
 
.container h2 { 
  margin-bottom: 20px; 
  color: #0077cc; 
  font-size: 26px; 
} 
 
.container p { 
  font-size: 16px; 
  margin-bottom: 15px; 
  line-height: 1.5; 
} 
 
/* ======= Formas ======= */ 
label { 
  display: block; 
  margin: 12px 0 6px; 
  text-align: left; 
  font-weight: bold; 
} 
 
input { 
  width: 100%; 
  padding: 12px; 
  margin-top: 4px; 
  border: 1px solid #ccc; 
  border-radius: 6px; 
  display: block; 
  font-size: 16px; 
} 
 
button { 
  margin-top: 15px; 
  padding: 12px 20px; 
  background: #0077cc; 
  border: none; 
  border-radius: 6px; 
  color: #fff; 
  font-size: 16px; 
  font-weight: bold; 
  cursor: pointer; 
  width: 100%; 
} 
 
button:hover { 
  background: #005fa3; 
} 
 
/* ======= Profils ======= */ 
.username { 
  font-size: 22px; 
  font-weight: bold; 
  margin-bottom: 15px; 
} 
 
.profile-pic { 
  width: 120px; 
  height: 120px; 
  border-radius: 50%; 
  background: #ddd; 
  margin: 0 auto 15px; 
  object-fit: cover; 
  display: block; 
} 
 input[type="file"] {
  display: none;
}

/* Custom poga attēla augšupielādei */
.upload-btn {
  display: inline-block;
  background: #0077cc;
  color: white;
  padding: 8px 16px;
  border-radius: 6px;
  cursor: pointer;
  margin-bottom: 20px;
  font-size: 14px;
}
.upload-btn:hover {
  background: #005fa3;
}
/* ======= Modal logs ======= */ 
.modal { 
  display: none; 
  position: fixed; 
  z-index: 1000; 
  left: 0; 
  top: 0; 
  width: 100%; 
  height: 100%; 
  background: rgba(0,0,0,0.6); 
  justify-content: center; 
  align-items: center; 
} 
 
.modal-content { 
  background: #fff; 
  padding: 25px; 
  border-radius: 12px; 
  width: 400px; 
  max-width: 90%; 
  box-shadow: 0 4px 12px rgba(0,0,0,0.2); 
  position: relative; 
} 
 
.modal-content h3 { 
  margin-top: 0; 
  color: #0077cc; 
} 
 
.modal-content input, 
.modal-content textarea { 
  width: 100%; 
  padding: 10px; 
  border: 1px solid #ccc; 
  border-radius: 6px; 
  margin-bottom: 12px; 
  font-size: 15px; 
} 
 
.modal-content textarea { 
  min-height: 70px; 
  resize: vertical; 
} 
 
.modal-content button { 
  width: 100%; 
} 
 
.close { 
  position: absolute; 
  right: 15px; 
  top: 10px; 
  font-size: 22px; 
  cursor: pointer; 
} 

