/* Change background color and font family */

body {
    background: #5F249F;
    font-family: Arial, Verdana, sans-serif;
}

a.privacy-policy-link {
    color: #AD96DC;
}


/* Change Width and Height of Logo Image + Add Custom Image File */

.login h1 a, .login .wp-login-logo a {
    background-image: url(grgs-logo.png);
    margin: 0 auto;
    width: 300px;
    background-size: 100%;
}


/* Add a few changes to the color and style of form itself */
.login label {
    color: #454545;
    display: block;
    margin-bottom: 1em;
    font-weight: bold;
}

.login form .input {
    font-weight: normal;
}

.login #backtoblog a,
.login #nav a {
    color: #fff;
}

.login #backtoblog a:hover,
.login #nav a:hover {
    color: #AD96DC;
}

.login form {
    margin-top: 20px;
    margin-left: 0;
    padding: 26px 26px 36px 26px;
    font-weight: 400;
    overflow: hidden;
    background: #fff;
    border: 10px solid #461B75;
    box-shadow: 0 1px 3px rgba(0,0,0,.04);
}

.wp-core-ui .button-primary.focus,
.wp-core-ui .button-primary.hover,
.wp-core-ui .button-primary:focus,
.wp-core-ui .button-primary:hover {
    background-color: #461B75;
    border-color: #5F249F;
    color: #fff;
}

.wp-core-ui .button-primary {
    background: #5F249F;
    border: none;
    box-shadow: none;
    text-shadow: none;
}

/* Container for the new credits */
.gorgeous-login-credits {
    text-align: center;
    margin-top: 30px; /* Separates it from 'Lost your password' */
    padding-bottom: 20px;
    color: #ffffff;
    font-size: 13px;
    line-height: 1.6;
}

/* Individual paragraphs to stack them neatly */
.gorgeous-login-credits p {
    margin: 5px 0 !important;
    font-style: italic;
    opacity: 0.8; /* Makes it look sophisticated, not shouting */
}

/* Link Styling */
.gorgeous-login-credits a {
    color: #AD96DC !important;
    text-decoration: none;
    font-weight: 700;
    transition: opacity 0.2s ease;
}

.gorgeous-login-credits a:hover {
    text-decoration: underline;
    opacity: 1;
}

/* Fix for existing WP links to prevent jumble */
.login #nav, .login #backtoblog {
    text-align: center !important;
    float: none !important;
    margin: 15px 0 0 0 !important;
    padding: 0 !important;
}

.login .forgetmenot label, .login .pw-weak label {
    line-height: 1.5;
    display: inline-block!important;
    vertical-align: baseline;
}

#login form p.submit {
    margin-top: 15px;
}

.login.wp-core-ui .button-primary {
    background: #461B75;
    border-color: #461B75;
    box-shadow: 0 1px 0 #461B75;
    color: #FFF;
    text-shadow: none;
    float: none;
    clear: both;
    display: block;
    width: 100%;
    padding: 7px;
    height: auto;
    font-size: 15px;
}

#adminmenu .wp-has-current-submenu .wp-submenu .wp-submenu-head, #adminmenu .wp-menu-arrow, #adminmenu .wp-menu-arrow div, #adminmenu li.current a.menu-top, #adminmenu li.wp-has-current-submenu a.wp-has-current-submenu, .folded #adminmenu li.current.menu-top, .folded #adminmenu li.wp-has-current-submenu {
    background: #AD96DC;
    color: #5F249F;
}
/* ---- WordPress interstitials ( admin email verification, etc. ) ------- */
/* The login form's full-width primary-button treatment above is built for a
   single Log In button; screens with side-by-side actions ( confirm_admin_email )
   break under it. Restore inline sizing there and brand the extra actions. */

.login-action-confirm_admin_email.wp-core-ui .button-primary {
    display: inline-block;
    float: none;
    clear: none;
    width: auto;
}

/* One explicit metric set for BOTH action buttons ( the skin gives the
   primary font-size 15 / no border while core .button-large keeps 13-14 / 1px
   border — without this they render different heights side by side ). */
.login-action-confirm_admin_email.wp-core-ui .admin-email__actions .button,
.login-action-confirm_admin_email.wp-core-ui .admin-email__actions .button-primary {
    box-sizing: border-box;
    font-size: 15px;
    line-height: 1.5;
    height: auto;
    min-height: 0;
    padding: 7px 28px;
    border: 1px solid;
    vertical-align: middle;
    box-shadow: none;
}

.login-action-confirm_admin_email.wp-core-ui .admin-email__actions .button-primary {
    border-color: #461B75;
}

/* Secondary "Update" button: brand outline instead of core blue. */
.login-action-confirm_admin_email.wp-core-ui .admin-email__actions a.button {
    color: #5F249F;
    border-color: #5F249F;
    background: #fff;
    margin-right: 8px;
}

.login-action-confirm_admin_email.wp-core-ui .admin-email__actions a.button:hover,
.login-action-confirm_admin_email.wp-core-ui .admin-email__actions a.button:focus {
    color: #461B75;
    border-color: #461B75;
}

/* In-card links ( "Why is this important?", "Remind me later" ). */
.login .admin-email__details a,
.login .admin-email__actions-secondary a {
    color: #5F249F;
}

.login .admin-email__details a:hover,
.login .admin-email__details a:focus,
.login .admin-email__actions-secondary a:hover,
.login .admin-email__actions-secondary a:focus {
    color: #461B75;
}
