/* ==========================================================================
   Base
   ========================================================================== */
* {
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  }

body {
  font-family: Arial, sans-serif;
  margin: 0;
  background-color: #f5f5f5;
  padding: 0 20px; /* margini stânga/dreapta */
}

/* ==========================================================================
   Layout
   ========================================================================== */
.container {
  max-width: 80%;
  margin: 0 auto;
  padding: 20px;
  background-color: #fff;
}

.section { margin-bottom: 30px; }

.row {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin-top: 30px;
}

.general-info { flex: 1 1 75%; }
.login-wrapper { flex: 0 0 25%; min-width: 280px; }

/* ==========================================================================
   Logo and Exit 
   ========================================================================== */
#logo{
  height: 70px;
  width: auto;
  margin: 0;                 /* NU margin aici */
  display: block;
}

.logo_exit{
  display: flex;
  align-items: center;
  width: 100%;               /* important */
  padding: 10px 16px;
  margin: 10px 0 20px 0;     /* spacing aici */
}

.logo_exit .exit-btn{
  margin-left: auto;
  width: 100px !important;
  padding: 8px 14px;
  background: rgba(119, 160, 218, 0.08);  /* discret */
  color: #153e77;
  border: 1px solid rgba(21, 62, 119, 0.25);
  border-radius: 10px;
  cursor: pointer;
}

.logo_exit .exit-btn:hover{
  background: rgba(1, 108, 15, 0.14);
}


/* ==========================================================================
   Login
   ========================================================================== */
.login-container {
  padding: 20px;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.10);
  margin: 0; /* controlat de layout */
}

input[type="text"], input[type="password"],
.contact-form input, .contact-form textarea {
  width: 100%;
  padding: 10px;
  margin: 10px 0;
  border: 1px solid #ddd;
  border-radius: 4px;
}

button {
  width: 100%;
  padding: 12px;
  background-color: #007bff;
  color: #fff;
  border: none;
  border-radius: 4px;
  cursor: pointer;
}

.footer { margin-top: 12px; text-align: center; }
.error { color: red; text-align: center; }

/* ==========================================================================
   Cards
   ========================================================================== */
.card-container {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin-top: 30px;
  flex-wrap: wrap;
}

.card {
  width: 30%;
  padding: 18px;
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
  border: 1px solid rgba(0,0,0,0.06);
  text-align: left;
}

.card-title {
  font-weight: 700;
  margin-bottom: 10px;
  text-align: center;
}

/* Document links: left aligned, but not glued to margin */
.card-docs {
  margin: 0;
  padding-left: 16px;         /* “frumos”, nu lipit */
  list-style-position: outside;
}

.card-docs li { margin: 6px 0; }

.card-docs a {
  text-decoration: none;
  color: #0b5ed7;
}
.card-docs a:hover { text-decoration: underline; }

.card-status{
  margin-top: 12px;
  font-size: 0.9rem;
  font-weight: 700;
  text-align: center;
}

/* text color by state */
.status-implemented .card-status { color: #153e77; } /* albastru închis */
.status-progress     .card-status { color: #faf6f6; } /* roșu */

/* State backgrounds (discrete) */
.status-implemented {
  background: linear-gradient(180deg, #f2fbf6 0%, #ffffff9a 100%);
}

.status-progress {
  background: linear-gradient(180deg, #fff7ed 0%, #dc4545 100%);
}
.donate-container{
  display: grid;
  grid-template-columns: 1fr 0.95fr 1fr; /* donate | map | contact */
  gap: 18px;
  align-items: start;
}

.map-wrap{
  width: 100%;
  height: 230px;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(0,0,0,0.08);
}

.map-wrap iframe{
  width: 100%;
  height: 100%;
  border: 0;
}

.map-link{
  display: inline-block;
  margin-top: 10px;
  text-decoration: none;
}
.section.donate{
  display: flex;
  flex-direction: column;
}

.section.donate .donate-btn-wrap{
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
}

@media (max-width: 1100px){
  .donate-container{ grid-template-columns: 1fr; }
  .map-wrap{ height: 260px; }
}
.pricing-note{
  margin-top: 10px;
  padding: 10px 12px;
  border: 1px solid rgba(0,0,0,0.08);
  border-radius: 12px;
  background: rgba(21,62,119,0.06);
  font-size: 0.95rem;
}
h3 a, p a{
  text-decoration: none;
  border-bottom: 1px solid rgba(21,62,119,0.35);
}
h3 a:hover, p a:hover{
  border-bottom-color: rgba(21,62,119,0.9);
}



/* ==========================================================================
   Contact
   ========================================================================== */
.contact-form button { background-color: #28a745; }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 768px) {
  .container { max-width: 100%; }

  .row { flex-direction: column; }
  .general-info { flex: 1 1 auto; }
  .login-wrapper { flex: 1 1 auto; min-width: 0; }

  .card { width: 100%; }
  #logo { height: 40px; }
}
