:root{
  --brand: #D62C24;       
  --brand-dark:#C62A22; 
  --text:#111;
  --muted:#6b6b6b;
  --bg:#ffffff;
  --card:#ffffff;
  --shadow:0 8px 24px rgba(0,0,0,.08);
  --font:system-ui,-apple-system,"Segoe UI",Roboto,"Helvetica Neue",Arial,"Noto Sans","Apple Color Emoji","Segoe UI Emoji";
}

*{box-sizing:border-box}
html,body{height:100%}
body{
  margin:0; background:var(--bg); color:var(--text);
  font-family:var(--font); -webkit-font-smoothing:antialiased; line-height:1.45;
}

/* LAYOUT */
.wrap{min-height:100vh; 
  display:flex; 
  align-items:stretch;}

.content{
  flex:1 1 60%;
  min-height:100vh;
  display:flex; flex-direction:column;
  align-items:center;
  padding:0 24px;
}
.brand{
  flex:0 0 40%; background:var(--brand); color:#fff;
  display:flex; align-items:center; justify-content:center; padding:48px 32px;
  border-top-left-radius:40px; border-bottom-left-radius:40px;
}
.brandlogo{
  width:min(520px, 72%); 
  height:auto; 
  display:block;}

.header{
  width:min(820px,100%);
  display:flex; justify-content:center;
}
.header .unlogo{
  height: clamp(100px, 12vw, 160px);
  width:auto;
}

.center{
  flex:1;
  width:100%;
  display:flex; align-items:center; justify-content:center;
}

.card{
  width:min(820px,100%);
}

h1{
  font-size: clamp(32px, 3.6vw, 52px);
  line-height:1.08; margin:0 0 14px; text-align:center;
}

.sub{
  text-align:center; color:var(--muted); margin:0 0 24px;
  font-size: clamp(14px, 1.6vw, 18px);
  font-weight:400;
}

.cta{
  display:block; margin:10px auto 18px;
  background:var(--brand); color:#fff; border:none;
  border-radius:12px; padding:16px 22px; cursor:pointer;
  font-weight:400; font-size:16px; width:min(560px,100%);
  box-shadow:0 6px 14px rgba(224,49,40,.25);
  transition: background .18s ease, box-shadow .18s ease, transform .02s ease;
}
.cta:hover{ background:var(--brand-dark); box-shadow:0 8px 18px rgba(224,49,40,.32); }

.helpbtn{
 display:flex; gap:32px; justify-content:center; flex-wrap:wrap;
  margin:12px 10px; color:#3a3a3a;
}

  .helpbtn a{
    color:inherit; text-decoration:none; font-weight:400;
    padding:10px 16px; border-radius:12px;
    transition: background .15s ease, box-shadow .15s ease;
    text-align: center;
    width: 100%;
    max-width: 280px;
  }.helpbtn a:hover{
  background:#efefef;
  box-shadow:inset 0 0 0 1px #e6e6e6;
}

.links{
  display:flex; gap:32px; justify-content:center; flex-wrap:wrap;
  margin:12px 0 10px; color:#3a3a3a;

}
.links a{
  color:inherit; text-decoration:none; font-weight:400;
  padding:10px 16px; border-radius:12px;
  transition: background .15s ease, box-shadow .15s ease;

}
.links a:hover{
  background:#efefef;
  box-shadow:inset 0 0 0 1px #e6e6e6;
}

.langlink::after{ content:" ▾"; font-size:12px; opacity:.7; margin-left:6px; }


.footnote{
  width:100%;
  text-align:center; color:#4a4a4a; font-weight:400;
  margin:18px 0 16px;
}

/* MOBILE STYLES */

@media (max-width: 672px){
  .wrap{ 
    flex-direction:column;
    max-height: 100vh;
    overflow-y: auto;
  }

  body {
    min-height: 100vh;
    max-height: none;       
    overflow-y: auto;           
    overflow-x: hidden;         
  }
  }

  .brand{
    order:-1; 
    width:100%;
    border-radius:0;
    justify-content:center;
  }

  .content
  {
    padding:0px;
  }

  .brandlogo{ 
    width: min(90%, 480px); 
    margin-top: 12px;
  }

  .header{ display:none !important; }

  .center{ 
    width:100%;
    align-items:center; 
    max-height: 680px;
  }

  .card{
    width:100%;
    background:#fff;
    border-radius:24px 24px 0 0;
    margin-top: -350px; 
    padding:32px 24px 24px;
  }

  h1{
    font-size:2rem;        
    margin:0 0 12px;
    text-align:center;
  }
  .sub{
    font-size:1rem;            
    margin:0 0 32px;            
    text-align:center;
  }

  .cta{
    width:100%;
    padding:16px 20px;       
    margin:0 0 16px;          
    border-radius:12px;
    font-size:1rem;
  }

  .helpbtn{
    display:flex;
    justify-content: center;
    width:100%;
    margin:8px 0px 8px;
    padding:8px 12px;
    border-radius:10px;
    text-align: center;
  }

  /* spodnje povezave – vsaka v svojo vrstico, kompaktno */
  .links{
    flex-direction:column;
    align-items:center;
    gap:10px;
    margin:20px 0 5px;
  }
  
  .links a{
    padding:8px 12px;
    border-radius:10px;
  }

  .footnote{ display:none !important;  }

/* CHOICE PAGE SPECIFIC */
.choice-wrap{
  min-height:100vh;
  background:#fff;
  display:flex;
  flex-direction:column;
}

.choice-header{
  padding:16px 18px 8px;
}

.choice-header .unlogo{
  height:90px;
  width:auto;
}

.choice-main{
  flex:1;
  display:flex;
  flex-direction:column;
  padding:8px 16px 16px;
  max-width:420px;
  margin:0 auto;
}

.choice-title{
  font-size:1.75rem;
  margin:12px 0 24px;
  font-weight:500;
}

.choice-list{
  display:flex;
  flex-direction:column;
  gap:10px;
  margin-bottom:24px;
}

.choice-btn{
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding:12px 16px;
  border-radius:4px;
  background:var(--brand);
  color:#fff;
  text-decoration:none;
  font-size:0.98rem;
  font-weight:500;
  box-shadow:0 4px 10px rgba(224,49,40,.22);
  transition:background .15s ease, box-shadow .15s ease, transform .02s ease;
}

.choice-label{
  display:inline-flex;
  align-items:baseline;
  gap:4px;
}

.choice-label-en{
  font-size:0.9rem;
  opacity:.85;
}

.choice-arrow{
  font-size:1.8em;
  line-height:1;
}

/* footer spodaj */
.choice-footer{
  margin-top:auto;
  padding:8px 4px 4px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
  font-size:0.78rem;
  color:var(--muted);
}


/* LOGIN PAGE SPECIFIC */
.login-wrap{
  min-height:100vh;
  display:flex;
  flex-direction:column;
  background:#fff;
}

.login-header{
  padding:16px 18px 0px;
}

.login-header .unlogo{
  height:80px;
  width:auto;
}

.login-main{
  flex:1;
  width:100%;
  max-width:420px;
  margin:0 auto;
  padding:8px 16px 16px;
  display:flex;
  flex-direction:column;
}

.login-card{
  padding-top:2px;
}

.login-field{
  display:flex;
  flex-direction:column;
  margin-bottom:12px;
  line-height:1.75rem;
}

.login-label{
  font-size:1.5rem;
  margin-bottom:12px;
  font-weight:600;
}

.login-input{
  padding:10px 10px;
  border-radius:8px;
  border:1px solid #d0d0d0;
  font-size:0.95rem;
  font-family:inherit;
}

.login-input:focus{
  outline:none;
  border-color:var(--brand);
  box-shadow:0 0 0 1px rgba(224,49,40,.25);
}

.login-help-link{
  display:inline-block;
  margin-top:4px;
  font-size:0.8rem;
  text-decoration:none;
  color:#000000;
  margin-bottom: 10px;
}

.login-help-link:hover{
  text-decoration:underline;
}

.login-actions{
    width:100%;
    padding:16px 20px;       
    margin:0 0 16px;          
    border-radius:12px;
    font-size:1rem;
    display:flex;
  flex-direction:column;
  align-items:center;
}

.login-btn{
 width:100%;
  max-width:260px;
  background:var(--brand);      /* #E03128 */
  color:#fff;
  border:none;
  border-radius:6px;
  padding:12px 0;
  font-size:1rem;
  box-shadow:0 4px 8px rgba(224,49,40,.25);
  transition:background .15s ease, box-shadow .15s ease;
}

.login-btn--primary{
  background:var(--brand);
  color:#fff;
}

.login-btn--primary:hover{
  background:var(--brand-dark);
}
.login-error{
  display:none;
  color:var(--brand);
  font-size:0.85rem;
  margin-bottom:4px;
}

.login-error--visible{
  display:block;
}

/* rdeč rob inputa pri napaki */
.login-input--error{
  border-color:var(---brand);
  box-shadow:0 0 0 1px rgba(209,52,56,.35);
}

/* spodnji footer */

.login-footer-links{
  display:flex;
  gap:12px;
}

.login-footer-links a{
  color:inherit;
  text-decoration:none;
}

.login-footer-links a:hover{
  text-decoration:underline;
}

.login-footer-more{
  font-size:1.4rem;
  line-height:1;
}

/* === PHISH RESULT PAGE === */

.phish-wrap{
  min-height:100vh;
  background:#fff;
  display:flex;
  flex-direction:column;
}

.phish-header{
  padding:16px 10px auto;
  align-self:center;
}

.phish-header .unlogo{
  height:180px;
  width:auto;
}

.phish-main{
  flex:1;
  max-width:430px;
  margin:0 auto;
  padding:1px 16px 24px;
}

.phish-card p{
  margin:0 0 10px;
}

.phish-lead{
  color:var(--brand);
  font-weight:700;
  font-size:1.5rem;
  line-height:1.5rem;
  margin-bottom:14px;
  text-align:center;
}

.phish-stat{
  margin:12px 0 22px;
  text-align:center;
}

.phish-stat-label{
  font-size:0.9rem;
  letter-spacing:0.02em;
  text-transform:uppercase;
  color:var(--muted);
  margin-bottom:4px;
}

.phish-stat-number{
  font-size:2.7rem;
  font-weight:800;
  color:var(--brand);
  line-height:1;
  margin-bottom:4px;
}

.phish-stat-caption{
  font-size:0.95rem;
  color:#333;
}

.phish-reassure{
  font-weight:600;
  font-size:1rem;
  margin:0 0 16px;
  color:var(--brand);
  text-align:center;
    
}

.phish-emoji{
  display:block;
  width:88px;
  height:88px;
  margin:30px auto 18px;
  border-radius:50%;
  object-fit:cover;
}

.phish-subheading{
  font-weight:600;
  margin-top:4px;
}

.phish-list{
  padding-left:20px;
  margin:6px 0 16px;
}

.phish-list li{
  margin-bottom:4px;
}

.phish-gdpr{
  font-size:0.86rem;
  color:var(--muted);
  margin-top:25px;
}


.phish-actions{
  margin:14px 0 18px;
  display:flex;
  flex-direction:column;
  gap:8px;
}

.phish-btn{
  display:inline-flex;
  justify-content:center;
  align-items:center;
  padding:10px 16px;
  border-radius:999px;
  font-size:0.9rem;
  font-weight:500;
  text-decoration:none;
  border:1px solid transparent;
  cursor:pointer;
}

.phish-btn--light{
  background:#f5f5f5;
  color:#111;
  border-color:#e0e0e0;
}

.phish-btn--light:hover{
  background:#e9e9e9;
}

.phish-btn--outline{
  background:var(--brand);
  color:#fff;
}

.phish-btn--outline:hover{
  background:var(--brand);
  color:#fff;
}

/* spodnji "Izvedi več" linki kot kartice */
.phish-more-title{
  margin-top:16px;
  font-weight:600;
}

.phish-links{
  list-style:none;
  padding:0;
  margin:10px 0 0;
  display:flex;
  flex-direction:column;
  gap:8px;
}

.phish-links li{
  margin:0;
}

.phish-links a{
  display:flex;
  flex-direction:column;
  align-items:flex-start;
  padding:10px 12px;
  border-radius:10px;
  background:#f5f5f5;
  text-decoration:none;
}

.phish-link-main{
  font-weight:600;
  color:#111;
  margin-bottom:2px;
}

.phish-link-url{
  font-size:0.85rem;
  color:#0056b3;
}

.phish-links a::after{
  content:"↗";
  align-self:flex-end;
  font-size:0.8rem;
  opacity:.7;
  margin-top:-16px;
}

.phish-links a:hover{
  background:#eaeaea;
}

/* === ABOUT PAGE === */


.about-wrap{
  min-height:100vh;
  background:#fff;
  display:flex;
  flex-direction:column;
}

.about-header{
  padding:16px 18px 1px;
  align-self:center;
}

.about-header .unlogo{
  height:160px;
  width:auto;
}

.about-main{
  flex:1;
  max-width:760px;
  margin:0 auto;
  padding:1px 20px 40px;
}

.about-kicker{
  font-size:0.85rem;
  letter-spacing:0.12em;
  text-transform:uppercase;
  color:var(--muted);
  margin:0 0 6px;
  text-align:center;
}

.about-main h1{
  font-size:2.1rem;
  margin:0 0 18px;
  text-align:center;
  color:var(--brand);
}

.about-section{
  margin-bottom:26px;
}

.about-section p{
  line-height:1.45;         
  margin:0 0 10px;

}

/* naslovi sekcij */

.about-section h2{
  font-size:1.4rem;
  margin:0 0 10px;
  color:var(--brand);
}

/* inline viri */

.about-source-inline{
  display:inline-block;
  margin-left:6px;
  font-size:0.86rem;
  color:var(--muted);
}

.about-source-inline a{
  color:#0056b3;
  text-decoration:none;
}

.about-source-inline a:hover{
  text-decoration:underline;
}

/* ekipa */

.about-team-intro{
  margin-bottom:16px;
}

.about-team-grid{
  display:grid;
  grid-template-columns:1fr;
  gap:16px;
}

.team-card{
  padding:14px 14px 16px;
  border-radius:14px;
  background:#f8f8f8;
  box-shadow:0 4px 10px rgba(0,0,0,.04);
  text-align:center;
  margin-top: 5px;
}

.team-avatar{
  width:100px;
  height:100px;
  border-radius:50%;
  object-fit:cover;
  margin-bottom:3px;
}

.team-card h3{
  margin:4px 0 4px;
  font-size:1.05rem;
}

.team-role{
  margin:0 0 6px;
  font-size:0.9rem;
  font-weight:500;
  color:#444;
}

.team-note{
  margin:0;
  font-size:0.86rem;
  color:#555;
}

/* kontakt */

.about-section a{
  color:#0056b3;
  text-decoration:none;
}

.about-section a:hover{
  text-decoration:underline;
}

/* footer */

.about-footer{
  font-size:0.8rem;
  color:var(--muted);
  text-align:center;
  padding:0px 12px 16px;
}

.about-contact-list{
  list-style:none;
  padding:0;
  margin:4px 0 0;
}

.about-contact-list li{
  margin-bottom:2px;
}
