/*
Theme Name: Printmedienpartner storefront child
Theme URI: https://woocommerce.com/storefront/
Description: Child Theme für Storefront mit eigenem Loginformular auf der Startseite.
Author: Jürg Senn
Template: storefront
Version: 1.0.0
Text Domain: printmedienpartner-storefront-child
*/

/* Storefront Login Child Styles */

.custom-login-page-wrap {
    min-height: 70vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 60px 20px;
    background: #f4f6f8;
}

.custom-login-box {
    width: 100%;
    max-width: 430px;
    padding: 38px;
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.12);
}

.custom-login-box h2 {
    margin: 0 0 10px;
    text-align: center;
    font-size: 28px;
    font-weight: 700;
    color: #222222;
}

.custom-login-box .login-intro {
    margin-bottom: 28px;
    text-align: center;
    color: #666666;
    font-size: 15px;
}

.custom-login-box label {
    display: block;
    margin-bottom: 6px;
    font-weight: 600;
    color: #333333;
}

.custom-login-box input[type="text"],
.custom-login-box input[type="password"] {
    width: 100%;
    padding: 13px 14px;
    border: 1px solid #cccccc;
    border-radius: 8px;
    background: #ffffff;
    font-size: 16px;
}

.custom-login-box input[type="text"]:focus,
.custom-login-box input[type="password"]:focus {
    outline: none;
    border-color: #104e8b;
    box-shadow: 0 0 0 3px rgba(16, 78, 139, 0.15);
}

.custom-login-box .login-remember {
    margin: 16px 0 0;
}

.custom-login-box .login-remember label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 400;
}

.custom-login-box input[type="submit"] {
    width: 100%;
    margin-top: 22px;
    padding: 14px 18px;
    border: none;
    border-radius: 8px;
    background: #104e8b;
    color: #ffffff;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.2s ease, transform 0.2s ease;
}

.custom-login-box input[type="submit"]:hover {
    background: #0c3d6d;
    transform: translateY(-1px);
}

.custom-login-links {
    margin-top: 22px;
    text-align: center;
    font-size: 14px;
}

.custom-login-links a {
    color: #104e8b;
    text-decoration: none;
    font-weight: 600;
}

.custom-login-links a:hover {
    text-decoration: underline;
}

.custom-login-message {
    max-width: 640px;
    margin: 50px auto;
    padding: 24px;
    border-radius: 12px;
    background: #ffffff;
    text-align: center;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
}

@media (max-width: 600px) {
    .custom-login-box {
        padding: 28px 22px;
        border-radius: 12px;
    }

    .custom-login-box h2 {
        font-size: 24px;
    }
}
