/*
 Theme Name:   Basel Child
 Description:  Basel Child Theme
 Author:       XTemos
 Author URI:   http://xtemos.com
 Template:     basel
 Version:      1.0.0
 Text Domain:  basel-child
*/


/* Your customizations starts here */

/* START OF CUSTOM LOGIN SCREEN */
body.login {
    background: linear-gradient(135deg, #ffffff, #007535);
    background-attachment: fixed;
    background-size: cover;
    color: #007535;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
    font-size: 13px;
    line-height: 1.4;
}


/* LOGIN BOX GLASSMORPHISM & ROUNDED CORNERS */
body.login #login {
    background: rgba(255, 255, 255, 0.1); /* semi-transparent white */
    border-radius: 20px;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 40px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.37);
	margin-top: 100px;
}

/* FORM BOX SPACING IMPROVEMENT */
body.login .login form {
    background: transparent !important;
    box-shadow: none !important;
    border: none !important;
}

/* ROUNDED INPUTS & BUTTON */
body.login input[type="text"],
body.login input[type="password"],
body.login input[type="submit"] {
    border-radius: 8px !important;
}

/* GRADIENT ANIMATED BACKGROUND */
body.login {
    background: linear-gradient(-45deg, #ffffff, #007535, #ffffff, #007535);
    background-size: 400% 400%;
    animation: animatedBackground 15s ease infinite;
    color: #000;
}

@keyframes animatedBackground {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.login form {
    margin: 24px 0;
    padding: 26px 24px;
    font-weight: 400;
    overflow: hidden;
    background: #fff0; 
    border: 1px solid #fff;
	border-radius: 12px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

.login #backtoblog a, .login #nav a {
	text-decoration: none;
	color: #000;
}

.wp-core-ui .button-primary {
    background: #fff !important;
    border-color: #fff !important;
    color: #007535 !important;
    text-decoration: none !important;
    text-shadow: none !important;
}

.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: #007535 !important;
    border-color: #007535 !important;
    color: #ffffff !important;
}


.wp-core-ui .button-secondary:hover, .wp-core-ui .button.hover, .wp-core-ui .button:hover {
	color: #000 !important;
}


/* END OF CUSTOM LOGIN SCREEN */

/* START CUSTOM PASSWORD SCREEN */
body.login h1 a {
            background-image: url("https://horizonbuildingservices.co.uk/wp-content/uploads/2025/06/Horizon-building-services-header-logo.webp") !important;
            background-size: contain !important;
            background-position: center top !important;
            background-repeat: no-repeat !important;
            width: 100% !important;
            max-width: 320px;
            height: 80px !important;
            text-indent: -9999px !important;
            display: block !important;
            margin: 0 auto 24px !important;
        }
/* END CUSTOM PASSWORD SCREEN */