/* 
Theme Name: Svatej klid s.r.o.
Theme URI: https://github.com/elementor/hello-theme-child/
Description: Účetnictví a jazykovka - používá Hello Elementor Child 
Author: Martin Pokrývka
Author URI: https://pokryvka.dev/
Template: hello-elementor
Version: 1.0.0
Text Domain: hello-elementor-child
License: GNU General Public License v3 or later.
License URI: https://www.gnu.org/licenses/gpl-3.0.html
Tags: flexible-header, custom-colors, custom-menu, custom-logo, editor-style, featured-images, rtl-language-support, threaded-comments, translation-ready
*/

/* Add your custom styles here */

body.login {
    background-color: #F7F3EC;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
}

.login h1 a {
    background-image: url('https://svatej-klid.cz/wp-content/uploads/2024/10/svatej-klid-k-nezaplaceni.png');
    background-size: contain;
    background-repeat: no-repeat;
    width: 320px !important;
    height: 120px !important;
    margin-bottom: 40px;
    padding: 0;
}

#loginform {
    background: white;
    border: none;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.05);
    border-radius: 24px;
    padding: 40px;
    max-width: 400px;
}

#loginform label {
    font-weight: 600;
    font-size: 15px;
    color: #333333;
}

#loginform input[type="text"],
#loginform input[type="password"] {
    border: 2px solid #E5E5E5;
    border-radius: 12px;
    padding: 12px 16px;
    font-size: 15px;
    margin-top: 8px;
    margin-bottom: 20px;
    height: auto;
}

#loginform input[type="text"]:focus,
#loginform input[type="password"]:focus {
    border-color: #9ACE71;
    box-shadow: 0 0 0 1px #9ACE71;
}

#loginform .button-primary {
    background-color: #9ACE71;
    border: none;
    border-radius: 12px;
    padding: 12px 24px;
    font-size: 16px;
    font-weight: 700;
    width: 100%;
    height: auto;
    margin-top: 10px;
    transition: background-color 0.3s;
    text-shadow: none;
    box-shadow: none;
}

#loginform .button-primary:hover {
    background-color: #8BBF64;
}

.login .forgetmenot {
    margin-bottom: 16px;
}

.login .forgetmenot label {
    font-size: 14px;
    color: #666;
}

.login #nav, 
.login #backtoblog {
    text-align: center;
    padding: 0;
    margin: 20px 0 0;
    color: #666;
}

.login #nav a,
.login #backtoblog a {
    color: #666;
    font-size: 14px;
    text-decoration: none;
    transition: color 0.3s;
}

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

.login .message,
.login .success {
    background-color: white;
    border-left: 4px solid #9ACE71;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    padding: 12px 24px;
}

.login #login_error {
    background-color: white;
    border-left: 4px solid #DC4A4A;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    padding: 12px 24px;
}

@media screen and (max-width: 768px) {
    #loginform {
        margin-top: 20px;
        padding: 30px;
    }
    
    .login h1 a {
        width: 260px !important;
        height: 100px !important;
    }
}