/* ----------------------------------------------------
   DCC-i Branded WordPress Login
   File: css/dcci-login.css
   Goal:
   - Purple Log In button (pill)
   - Purple Change button
   - Purple eye icon
   - "← Go to DCC-i CPD Customer Portal" LEFT aligned ABOVE the login card
   - Remove any "inside the card" portal link styling
---------------------------------------------------- */

:root{
  --dcci-purple: #3E1E67;
  --dcci-purple-btn: #8d2f88;
  --dcci-pink: #E91E63;
  --dcci-bg: #f1deed;
  --dcci-card: rgba(255,255,255,0.88);

  --radius-card: 22px;
  --radius-input: 14px;
  --radius-btn: 999px;

  --shadow-card: 0 12px 26px rgba(0,0,0,0.14);
  --font: "Montserrat", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
}

/* Background */
body.login{
  font-family: var(--font);
  color: var(--dcci-purple);
  background:
    radial-gradient(ellipse 60% 60% at 5% 10%,  rgba(230,176,198,0.85) 0%, transparent 60%),
    radial-gradient(ellipse 50% 50% at 98% 5%,  rgba(189,208,231,0.85) 0%, transparent 55%),
    radial-gradient(ellipse 60% 40% at 5% 95%,  rgba(195,209,218,0.80) 0%, transparent 55%),
    radial-gradient(ellipse 50% 50% at 98% 98%, rgba(194,207,225,0.80) 0%, transparent 55%),
    radial-gradient(ellipse 50% 50% at 98% 55%, rgba(234,232,246,0.90) 0%, transparent 55%),
    var(--dcci-bg);
  background-attachment: fixed;
}

/* Layout */
body.login #login{
  width: 360px;
  padding: 44px 0 0;
}

/* Logo */
body.login h1 a{
  background-image: url("../img/dcci-logo.jpg");
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
  width: 220px;
  height: 96px;
  margin: 0 auto 16px;
}

/* Card */
body.login form{
  background: var(--dcci-card);
  border: 0;
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-card);
  padding: 24px;
}

/* Labels */
body.login form label{
  color: var(--dcci-purple);
  font-weight: 700;
  font-size: 13px;
}

/* Inputs */
body.login .input,
body.login input[type="text"],
body.login input[type="password"]{
  border-radius: var(--radius-input);
  border: 2px solid rgba(141,47,136,0.18);
  padding: 12px;
  font-size: 14px;
  background: #fff;
}

body.login .input:focus{
  border-color: rgba(141,47,136,0.55);
  box-shadow: 0 0 0 4px rgba(141,47,136,0.12);
}

/* Log In button */
body.login input#wp-submit{
  background-color: #8d2f88 !important;
  border-color: #8d2f88 !important;
  color: #ffffff !important;
  border-radius: 999px !important;
  font-weight: 800 !important;
  padding: 8px 18px !important;
  box-shadow: 0 10px 20px rgba(0,0,0,0.18);
}

body.login input#wp-submit:hover{
  background-color: #7a2777 !important;
}

/* Language switcher button */
body.login .language-switcher .button{
  background: #8d2f88 !important;
  border: 0 !important;
  color: #ffffff !important;
  font-weight: 700 !important;
  border-radius: 12px !important;
}