/**
 * Nature-Inspired Login Theme
 *
 * @package    CLPD51
 * @subpackage CLPD51/public/css
 */
body.login {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    padding: 20px;
    background: linear-gradient(135deg, #2c5e2e 0%, #335c67 100%);
    position: relative;
    overflow: hidden;
}
/* Nature pattern overlay */
body.login::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url("data:image/svg+xml,%3Csvg width='40' height='40' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M11 18c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm48 25c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm-43-7c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm63 31c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM34 90c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm56-76c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM12 86c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm28-65c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm23-11c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-6 60c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm29 22c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zM32 63c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm57-13c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-9-21c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM60 91c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM35 41c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM12 60c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2z' fill='rgba(255,255,255,0.05)' fill-rule='evenodd'/%3E%3C/svg%3E");
    opacity: 0.7;
}
/* Leaf decoration */
body.login::after {
    content: '';
    position: absolute;
    right: -100px;
    top: -100px;
    width: 300px;
    height: 300px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'%3E%3Cpath d='M95,50c0,24.85-20.15,45-45,45S5,74.85,5,50S25.15,5,50,5S95,25.15,95,50z' fill='none' stroke='rgba(255,255,255,0.1)' stroke-width='0.5'/%3E%3Cpath d='M91,50c0,22.64-18.36,41-41,41S9,72.64,9,50S27.36,9,50,9S91,27.36,91,50z' fill='none' stroke='rgba(255,255,255,0.1)' stroke-width='0.5'/%3E%3Cpath d='M50,12C68.78,12,84,27.22,84,46c0,18.78-15.22,34-34,34S16,64.78,16,46C16,27.22,31.22,12,50,12z' fill='none' stroke='rgba(255,255,255,0.1)' stroke-width='0.5'/%3E%3Cpath d='M50,5c24.85,0,45,20.15,45,45c-10-10-25-20-45-20S15,40,5,50C5,25.15,25.15,5,50,5z' fill='rgba(255,255,255,0.05)'/%3E%3C/svg%3E");
    opacity: 0.6;
    transform: rotate(15deg);
    z-index: 0;
}
body.login #login {
    background-color: rgba(255, 255, 255, 0.9);
    border-radius: 15px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
    padding: 40px;
    width: 430px;
    position: relative;
    z-index: 1;
    overflow: hidden;
}
/* Leafy accent in bottom corner */
body.login #login::after {
    content: '';
    position: absolute;
    bottom: -20px;
    right: -20px;
    width: 120px;
    height: 120px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'%3E%3Cpath d='M0,100 C20,90 50,50 100,0 C90,20 50,50 0,100 Z' fill='rgba(44, 94, 46, 0.1)'/%3E%3C/svg%3E");
    z-index: -1;
}
body.login h1 a {
    margin-bottom: 35px;
}
body.login form {
    margin-top: 20px;
    padding: 0;
    background: transparent;
    border: none;
    box-shadow: none;
}
body.login form .input,
body.login input[type="text"],
body.login input[type="password"] {
    background-color: rgba(255, 255, 255, 0.9);
    border: 1px solid #c5d1c6;
    border-radius: 8px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
    color: #2c3e50;
    font-size: 16px;
    padding: 15px 18px;
    transition: all 0.3s ease;
}
body.login form .input:focus,
body.login input[type="text"]:focus,
body.login input[type="password"]:focus {
    border-color: #2c5e2e;
    box-shadow: 0 0 0 3px rgba(44, 94, 46, 0.15);
    outline: none;
}
body.login label {
    color: #2c3e50;
    font-size: 15px;
    font-weight: 500;
    margin-bottom: 8px;
    display: block;
}
body.login .button.wp-hide-pw {
    height: 50px;
    color: #7f8c8d;
}
body.login .button.wp-hide-pw:focus {
    background: transparent;
    border-color: transparent;
    box-shadow: none;
    color: #2c3e50;
}
body.login .button-primary {
    background: linear-gradient(90deg, #2c5e2e, #3a7d44);
    border: none;
    border-radius: 8px;
    color: #fff;
    font-size: 16px;
    font-weight: 500;
    height: auto;
    padding: 15px 20px !important;
    width: 100%;
    transition: all 0.3s ease;
}
body.login .button-primary:hover {
    background: linear-gradient(90deg, #2c5e2e, #40916c);
    box-shadow: 0 4px 12px rgba(44, 94, 46, 0.25);
    transform: translateY(-2px);
}
body.login .button-primary:active {
    transform: translateY(0);
    box-shadow: 0 2px 5px rgba(44, 94, 46, 0.25);
}
body.login #nav,
body.login #backtoblog {
    margin: 24px 0 0;
    padding: 0;
    text-align: center;
}
body.login #nav a,
body.login #backtoblog a {
    color: #2c3e50;
    font-size: 14px;
    font-weight: 500;
    transition: color 0.3s ease;
}
body.login #nav a:hover,
body.login #backtoblog a:hover {
    color: #2c5e2e;
}
/* Checkbox style */
body.login form .forgetmenot {
    margin-bottom: 24px;
}
body.login form .forgetmenot input[type="checkbox"] {
    border: 1px solid #c5d1c6;
    border-radius: 3px;
}
body.login form .forgetmenot input[type="checkbox"]:checked {
    background-color: #2c5e2e;
    border-color: #2c5e2e;
}
body.login form .forgetmenot label {
    font-size: 14px;
    color: #2c3e50;
    display: inline;
}
/* Login message and errors */
body.login .message,
body.login #login_error {
    background-color: rgba(255, 255, 255, 0.9);
    border-left: 4px solid #2c5e2e;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
    color: #2c3e50;
    margin-bottom: 24px;
}
body.login #login_error {
    border-left-color: #e74c3c;
}