
button {
    outline: none !important
}

*:focus {
    outline: none
}

input[type=submit]:focus {
    outline: 0 !important
}

input:focus {
    outline: 0 !important
}

img {
    height: auto;
    max-width: 100%
}

a {
    text-decoration: none
}

li {
    list-style-type: none
}

p, ul {
    margin: 0;
    padding: 0
}

html, body {
    height: 100%;
    width: 100%;
    min-width: 320px;
    margin: 0;
    padding: 0;
    -webkit-text-size-adjust: 100%
}

body {
    font-size: 16px;
    line-height: 1.6;
    color: #262A32;
    background: #f5f5f5;
    font-family: 'Lato', sans-serif;
    position: relative;
}

.bg-helper {
    display: none;
}

.hidden {
    display: none !important;
}

.mb-40 {
    margin-bottom: 20px;
}

.login-inner {
    min-height: 100vh;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    gap: 60px;
    padding: 60px 20px;
    box-sizing: border-box;
}

/* ========================
   LEFT COLUMN
   ======================== */

.login-inner .left-column {
    width: 100%;
    max-width: 460px;
    display: flex;
    flex-direction: column;
    flex-shrink: 0;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 24px rgba(0, 0, 0, .09);
    padding: 40px;
    overflow: hidden;
    box-sizing: border-box;
}

/* Logo — dark branded header strip at card top */
.login-inner .left-column > a {
    display: flex;
    justify-content: center;
    align-items: center;
    background: #262A32;
    padding: 22px 40px;
    margin: -40px -40px 36px;
    text-align: center;
    text-decoration: none;
}

.login-inner .left-column .logo {
    width: 160px;
    height: auto;
    margin: 0;
}

/* Title */
.login-inner .left-column .title {
    font-family: 'Playfair Display', serif;
    font-size: 26px;
    font-weight: 700;
    letter-spacing: -.02em;
    color: #262A32;
    margin: 0 0 24px;
    line-height: 1.25;
    text-align: center;
}

@media only screen and (max-width: 470px) {
    .login-inner .left-column .title {
        display: none;
    }
}

/* Form */
.login-inner .left-column .form {
    margin-bottom: 20px;
}

.login-inner .left-column .form label {
    display: block;
    position: relative;
}

/* Hide missing icon images */
.login-inner .left-column .form label .icon,
.login-inner .left-column .form label .visible {
    display: none;
}

/* Inputs */
.login-inner .left-column .form .def {
    padding: 13px 16px;
    width: 100%;
    background: #fff;
    border: 1px solid #D9D9D9;
    border-radius: 10px;
    font-family: 'Lato', sans-serif;
    font-size: 15px;
    line-height: 1.5;
    color: #262A32;
    transition: border-color .2s;
    box-sizing: border-box;
    appearance: none;
}

.login-inner .left-column .form .def::placeholder {
    color: #9CA3AF;
}

.login-inner .left-column .form .def:hover {
    border-color: #85c6a8;
}

.login-inner .left-column .form .def:focus {
    border-color: #208A58;
}

/* Actions row */
.login-inner .left-column .form .actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-family: 'Lato', sans-serif;
    margin-bottom: 24px;
}

/* Custom checkbox */
.login-inner .left-column .form .actions input[type=checkbox] {
    -moz-appearance: none;
    -webkit-appearance: none;
    -o-appearance: none;
    outline: none;
    content: none;
}

.login-inner .left-column .form .actions input[type=checkbox] + span {
    background: #fff;
    border: 1px solid #D9D9D9;
    border-radius: 4px;
    width: 20px;
    height: 20px;
    margin: 0;
    top: 50%;
    transform: translateY(-50%);
    display: block;
    position: absolute;
    left: 0;
    cursor: pointer;
    z-index: 10;
    transition: background-color .15s, border-color .15s;
}

.login-inner .left-column .form .actions input[type=checkbox]:checked + span {
    background-color: #208A58;
    border-color: #208A58;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 10'%3E%3Cpath d='M1 5l3.5 3.5L11 1' stroke='%23fff' stroke-width='2' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: center;
    background-size: 12px;
}

.login-inner .left-column .form .actions .text {
    padding-left: 28px;
    cursor: pointer;
    user-select: none;
    font-size: 14px;
    line-height: 20px;
    color: #4B5563;
}

.login-inner .left-column .form .actions .remember-wrap {
    display: flex;
    align-items: center;
}

.login-inner .left-column .form .actions a {
    color: #208A58;
    text-decoration: underline;
    font-size: 14px;
    line-height: 20px;
}

.login-inner .left-column .form .actions a:hover {
    color: #229861;
}

/* Submit button */
.login-inner .left-column .form button[type=submit] {
    background-color: #208A58;
    border-radius: 10px;
    width: 100%;
    padding: 14px;
    font-family: 'Lato', sans-serif;
    font-weight: 600;
    font-size: 16px;
    line-height: 1.5;
    color: #fff;
    border: none;
    cursor: pointer;
    transition: background-color .2s;
}

.login-inner .left-column .form button[type=submit]:hover {
    background-color: #229861;
}

/* Social section */
.login-inner .left-column .soc-register {
    margin-bottom: 20px;
}

@media only screen and (max-width: 470px) {
    .login-inner .left-column .soc-register {
        margin-bottom: 20px;
    }
}

.login-inner .left-column .soc-register .divider {
    display: flex;
    align-items: center;
    margin-bottom: 16px;
}

.login-inner .left-column .soc-register .divider .line {
    flex: 1;
    height: 1px;
    background-color: #E5E7EB;
}

.login-inner .left-column .soc-register .divider .text {
    padding: 0 12px;
    font-family: 'Lato', sans-serif;
    font-size: 12px;
    font-weight: 600;
    color: #9CA3AF;
    letter-spacing: .05em;
    line-height: normal;
    overflow: initial;
    word-break: normal;
}

/* Social buttons */
.login-inner .left-column .soc-register .buttons {
    display: flex;
    flex-direction: column;
    gap: 10px;
    border-radius: 0;
    overflow: initial;
    text-transform: none;
}

.login-inner .left-column .soc-register .buttons a {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    max-width: none;
    width: 100%;
    padding: 12px 20px;
    border-radius: 10px;
    font-family: 'Lato', sans-serif;
    font-weight: 600;
    font-size: 15px;
    line-height: 1.5;
    color: #fff;
    transition: background-color .2s;
    box-sizing: border-box;
}

.login-inner .left-column .soc-register .buttons a img {
    width: 20px;
    height: 20px;
    margin: 0;
    flex-shrink: 0;
}

.login-inner .left-column .soc-register .buttons a.fb {
    background-color: #1877F2;
    margin-bottom: 0;
    padding-top: 12px;
    padding-bottom: 12px;
}

.login-inner .left-column .soc-register .buttons a.fb:hover {
    background-color: #166FE5;
}

/* Google button — overrides inline style from main-content.php */
.google-sign-in {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    background-color: #f9f9f9;
    border: 1px solid #D9D9D9;
    border-radius: 10px;
    width: 100%;
    padding: 12px 20px;
    font-family: 'Lato', sans-serif;
    font-weight: 600;
    font-size: 15px;
    line-height: 1.5;
    letter-spacing: normal;
    color: #515151;
    box-shadow: none;
    cursor: pointer;
    transition: background-color .2s;
    box-sizing: border-box;
}

.google-sign-in img {
    width: 20px;
    height: 20px;
    margin-bottom: 0;
    margin-right: 0;
    flex-shrink: 0;
}

.google-sign-in:hover {
    background-color: #fff;
    border-color: #85c6a8;
}

/* Register / login toggle link */
.login-inner .left-column .register-link {
    font-family: 'Lato', sans-serif;
    font-size: 14px;
    line-height: 1.5;
    color: #6B7280;
    margin: 0;
    text-align: center;
}

.login-inner .left-column .register-link a {
    color: #208A58;
    text-decoration: underline;
    font-size: 14px;
    line-height: 1.5;
}

.login-inner .left-column .register-link a:hover {
    color: #229861;
}

/* ========================
   RIGHT COLUMN
   ======================== */

.login-inner .right-column {
    max-width: 460px;
    width: 100%;
    display: flex;
    justify-content: center;
    flex-direction: column;
    flex-shrink: 0;
    padding: 0 10px;
}

@media only screen and (max-width: 1040px) {
    .login-inner .right-column {
        display: none;
    }
}

.login-inner .right-column .inner {
    padding: 20px 0;
}

.login-inner .right-column .inner .top-title {
    font-family: 'Lato', sans-serif;
    font-weight: 700;
    font-size: 12px;
    line-height: 1.5;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: #208A58;
    margin-bottom: 12px;
}

.login-inner .right-column .inner .main-title {
    font-family: 'Playfair Display', serif;
    font-size: 38px;
    line-height: 1.25;
    letter-spacing: -.02em;
    color: #262A32;
    margin-bottom: 16px;
    font-weight: 700;
    text-transform: none;
}

.login-inner .right-column .inner .main-title span {
    color: #208A58;
}

.login-inner .right-column .inner .sub-title {
    font-family: 'Lato', sans-serif;
    font-weight: 600;
    font-size: 15px;
    line-height: 1.5;
    letter-spacing: .02em;
    color: #4B5563;
    margin-bottom: 6px;
}

.login-inner .right-column .mini-title {
    font-family: 'Lato', sans-serif;
    font-size: 14px;
    line-height: 1.5;
    letter-spacing: .02em;
    color: #6B7280;
}

/* ========================
   MOBILE
   ======================== */

@media only screen and (max-width: 540px) {
    .login-inner {
        padding: 20px 15px;
        align-items: flex-start;
        gap: 0;
    }

    .login-inner .left-column {
        border-radius: 8px;
        padding: 30px 20px;
        max-width: 100%;
    }

    .login-inner .left-column > a {
        margin: -30px -20px 30px;
        padding: 18px 20px;
    }
}
