/* Logo styling */
#login h1 a, .login h1 a {
    background-image: url('https://www.drcertifications.com/wp-content/uploads/2024/03/logo.jpeg');
    height: 80px;
    width: 320px;
    background-size: contain;
    background-repeat: no-repeat;
    padding-bottom: 30px;
}

/* Black background */
body.login {
    background: #000000;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

/* Reorder form elements - Google login first */
.login form {
    display: flex;
    flex-direction: column;
}

/* Move Google login section to top */
.the_champ_outer_login_container {
    order: -1;
    margin: 0 0 20px 0 !important;
    padding: 0 !important;
}

/* Style "Login with your Social ID" title */
.the_champ_social_login_title {
    color: #ffffff !important;
    font-size: 18px !important;
    font-weight: 600 !important;
    text-align: center !important;
    margin-bottom: 15px !important;
    text-shadow: 0 2px 4px rgba(0,0,0,0.5);
    padding: 0 !important;
}

/* Center the Google button container */
.the_champ_login_container {
    text-align: center !important;
    overflow: visible !important;
    margin: 0 0 20px 0 !important;
    padding: 0 !important;
}

.the_champ_login_ul {
    display: flex !important;
    justify-content: center !important;
    overflow: visible !important;
    margin: 0 !important;
    padding: 0 !important;
    list-style: none !important;
}

.the_champ_login_ul li {
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
}

/* Google button styling - official Google look */
#theChampGoogleButton {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: flex-start !important;
    background: #ffffff !important;
    border: 1px solid #dadce0 !important;
    border-radius: 4px !important;
    padding: 0 16px !important;
    cursor: pointer !important;
    transition: all 0.2s ease !important;
    width: 100% !important;
    max-width: 300px !important;
    height: 48px !important;
    box-shadow: 0 1px 2px rgba(0,0,0,0.1) !important;
}

#theChampGoogleButton:hover {
    box-shadow: 0 2px 6px rgba(0,0,0,0.15) !important;
    background: #f8f9fa !important;
    border-color: #4285f4 !important;
}

/* FIX 1: Make Google icon visible - ONLY on login/register pages */
.login .theChampGoogleLoginSvg {
    display: block !important;
    width: 120px !important;
    height: 20px !important;
    margin-right: 12px !important;
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 48 48"><path fill="%234285F4" d="M24 9.5c3.9 0 6.6 1.7 8.1 3.1l6-5.9C34.6 3.4 29.9 1.5 24 1.5 14.6 1.5 6.7 7.3 3.2 15.3l7 5.4C11.9 14.3 17.4 9.5 24 9.5z"/><path fill="%2334A853" d="M46.5 24.5c0-1.6-.1-3.1-.4-4.5H24v9h12.7c-.6 3-2.3 5.5-4.8 7.2l7.4 5.7c4.3-4 6.7-9.9 6.7-16.9z"/><path fill="%23FBBC05" d="M10.2 28.7c-1-3-1-6.3 0-9.4l-7-5.4C.8 18.9 0 21.4 0 24s.8 5.1 2.2 9.1l7-5.4z"/><path fill="%23EA4335" d="M24 46.5c5.9 0 10.8-1.9 14.4-5.2l-7.4-5.7c-2 1.3-4.5 2.1-7 2.1-6.6 0-12.1-4.8-13.8-11.2l-7 5.4C6.7 40.7 14.6 46.5 24 46.5z"/></svg>') !important;
    background-size: contain !important;
    background-repeat: no-repeat !important;
    background-position: center !important;
    flex-shrink: 0 !important;
}

/* "Sign in with Google" text */
#theChampGoogleButton::after {
    content: "Sign in with Google";
    color: #3c4043;
    font-size: 15px;
    font-weight: 500;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
    letter-spacing: 0.25px;
}

/* Divider line */
.the_champ_outer_login_container::after {
    content: "";
    display: block;
    height: 1px;
    background: rgba(255,255,255,0.2);
    margin: 25px 0;
    position: relative;
}

/* Remove the clear div after social login */
.the_champ_outer_login_container + div[style*="clear"] {
    display: none !important;
}

/* Form labels - better visibility */
.login form label {
    font-size: 15px !important;
    font-weight: 500 !important;
    color: #3c4043 !important;
    margin-bottom: 6px !important;
    display: block !important;
}

/* Form inputs - larger and more visible */
.login form input[type="text"],
.login form input[type="email"],
.login form input[type="password"] {
    font-size: 16px !important;
    padding: 12px !important;
    height: 48px !important;
    border: 1px solid #dadce0 !important;
    border-radius: 4px !important;
    width: 100% !important;
    box-sizing: border-box !important;
}

.login form input[type="text"]:focus,
.login form input[type="email"]:focus,
.login form input[type="password"]:focus {
    border-color: #4285f4 !important;
    outline: none !important;
    box-shadow: 0 0 0 2px rgba(66, 133, 244, 0.1) !important;
}

/* Registration confirmation text */
#reg_passmail {
    font-size: 14px !important;
    color: #5f6368 !important;
    margin: 15px 0 !important;
}

/* FIX 2: Center align Register button */
.login form .submit {
    text-align: center !important;
    margin-top: 20px !important;
}

/* Register button */
.login form .button-primary {
    background: #1a73e8 !important;
    border: none !important;
    font-size: 16px !important;
    font-weight: 500 !important;
    height: 48px !important;
    padding: 0 32px !important;
    border-radius: 4px !important;
    cursor: pointer !important;
    transition: background 0.2s ease !important;
    min-width: 140px !important;
    display: inline-block !important;
}

.login form .button-primary:hover {
    background: #1557b0 !important;
    box-shadow: 0 2px 4px rgba(0,0,0,0.2) !important;
}

/* Form paragraphs spacing */
.login form p {
    margin-bottom: 16px !important;
}

/* Navigation links at bottom - white and visible */
.login #nav,
.login #backtoblog {
    font-size: 15px !important;
    text-align: center !important;
}

.login #nav a,
.login #backtoblog a {
    color: #ffffff !important;
    text-shadow: 0 1px 3px rgba(0,0,0,0.8);
    font-weight: 500 !important;
    font-size: 15px !important;
    text-decoration: none !important;
    transition: color 0.2s ease !important;
}

.login #nav a:hover,
.login #backtoblog a:hover {
    color: #4285f4 !important;
}

/* Separator in nav links */
.login #nav {
    margin-top: 20px !important;
}

/* Add spacing to login container */
#login {
    padding: 40px 0 40px 0;
}

/* Notice message styling */
.login .message {
    background: rgba(255, 255, 255, 0.98) !important;
    font-size: 15px !important;
    border-left: 4px solid #1a73e8 !important;
}

/* Form container - subtle shadow */
.login form {
    box-shadow: 0 2px 10px rgba(0,0,0,0.3) !important;
}