.repairer-register-container {
    max-width: 640px;
    margin: 48px auto 48px auto;
    background: #fff;
    padding: 2.6rem 2.5rem 2rem 2.5rem;
    border-radius: 28px;
    box-shadow: 0 6px 32px rgba(32, 61, 140, 0.08), 0 2px 8px rgba(0,0,0,0.06);
    font-family: 'Segoe UI', Arial, sans-serif;
}

.repairer-register-container h1 {
    text-align: center;
    color: #193060;
    font-size: 2.3rem;
    font-weight: 800;
    margin-bottom: 0.7rem;
    letter-spacing: -1px;
}

.subtitle {
    text-align: center;
    color: #49557a;
    margin-bottom: 2.1rem;
    font-size: 1.11rem;
    line-height: 1.4;
    font-weight: 400;
}

.register-form {
    display: flex;
    flex-direction: column;
    gap: 1.12rem;
}

.form-row {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
}

label {
    font-weight: 600;
    color: #117C47;  /* Dark green */
    margin-bottom: 0.07rem;
    font-size: 1.09rem;
}

input[type="text"],
input[type="email"],
input[type="tel"],
input[type="url"],
textarea {
    border: 1.7px solid #e6ecf3;
    border-radius: 12px;
    padding: 0.8rem 1.1rem;
    font-size: 1.08rem;
    background: #f7fafd;
    transition: border 0.17s, box-shadow 0.17s;
    font-family: inherit;
}

input:focus,
textarea:focus {
    border: 1.7px solid #117C47; /* Dark green focus */
    background: #fff;
    outline: none;
    box-shadow: 0 0 0 2px #b0f2d2;
}

.register-btn {
    background: #FFD600;     /* Yellow button */
    color: #193060;
    font-weight: 700;
    font-size: 1.13rem;
    padding: 0.9rem 0;
    border: none;
    border-radius: 22px;
    margin-top: 0.5rem;
    box-shadow: 0 2px 10px rgba(255, 214, 0, 0.10);
    cursor: pointer;
    transition: background 0.16s, box-shadow 0.17s;
    width: 100%;
    outline: none;
    letter-spacing: 0.02em;
}

.register-btn:hover,
.register-btn:focus {
    background: #ffe666;
    box-shadow: 0 4px 18px rgba(255, 214, 0, 0.16);
}

.flash-messages {
    margin-top: 1.1rem;
    text-align: center;
}

.flash.success {
    background: #e6f9ee;
    color: #157347;
    border: 1px solid #b7e4c7;
    padding: 0.8rem 1rem;
    border-radius: 9px;
    font-weight: 500;
    display: inline-block;
}

@media (max-width: 800px) {
    .repairer-register-container {
        max-width: 97vw;
        padding: 1.2rem 0.7rem 1.2rem 0.7rem;
        border-radius: 15px;
    }
    .repairer-register-container h1 {
        font-size: 1.4rem;
    }
    .register-btn {
        font-size: 1rem;
    }
}



/* thank you */

.thankyou-card {
    max-width: 480px;
    margin: 64px auto 48px auto;
    background: #fff;
    padding: 2.6rem 2rem 2.3rem 2rem;
    border-radius: 28px;
    box-shadow: 0 6px 32px rgba(32, 61, 140, 0.08), 0 2px 8px rgba(0,0,0,0.06);
    text-align: center;
}

.thankyou-icon {
    width: 70px;
    height: 70px;
    margin-bottom: 1.2rem;
    display: inline-block;
}

.thankyou-card h1 {
    color: #193060;
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 1.05rem;
    letter-spacing: -1px;
}

.thankyou-card p {
    color: #49557a;
    font-size: 1.13rem;
    margin-bottom: 1.5rem;
    line-height: 1.5;
}

.thankyou-card a {
    color: #22BB51;
    text-decoration: none;
    font-weight: 600;
}

.back-home-btn {
    display: inline-block;
    background: #FFD600;
    color: #193060 !important;
    font-weight: 700;
    font-size: 1.07rem;
    padding: 0.76rem 2.2rem;
    border: none;
    border-radius: 22px;
    text-decoration: none;     /* <--- This is correct, keep this */
    box-shadow: 0 2px 10px rgba(255, 214, 0, 0.10);
    margin-top: 0.6rem;
    transition: background 0.15s;
}
.back-home-btn:hover,
.back-home-btn:focus {
    background: #ffe666;
}


/* complete */

.register-card {
    max-width: 400px;
    margin: 4rem auto 2rem auto;
    background: #fff;
    border-radius: 18px;
    box-shadow: 0 6px 32px rgba(0,0,0,0.08), 0 1.5px 6px rgba(0,0,0,0.06);
    padding: 2.5rem 2rem 1.5rem 2rem;
    text-align: center;
}

.register-card h1 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 0.3em;
    color: #117C47;
}

.register-subtext {
    color: #444;
    font-size: 1.06rem;
    margin-bottom: 1.3em;
}

.register-form .form-group {
    text-align: left;
    margin-bottom: 1.15em;
}

.register-form label {
    display: block;
    margin-bottom: 0.35em;
    font-weight: 500;
    color: #222;
}

.register-form label span {
    color: #FFD600;
    font-weight: 700;
}

.register-form input[type="password"] {
    width: 100%;
    padding: 0.6em;
    border-radius: 9px;
    border: 1.5px solid #dbe3ea;
    background: #fafbfc;
    font-size: 1.1em;
    transition: border 0.2s;
    margin-bottom: 0.3em;
}

.register-form input[type="password"]:focus {
    border-color: #FFD600;
    outline: none;
}

.submit-btn {
    width: 100%;
    background: #117C47;
    color: #fff;
    font-size: 1.1em;
    font-weight: 600;
    padding: 0.85em 0;
    border: none;
    border-radius: 9px;
    margin-top: 0.5em;
    transition: background 0.2s;
    cursor: pointer;
    box-shadow: 0 1px 2px rgba(17,124,71,0.05);
}

.submit-btn:hover {
    background: #0f6337;
}

.back-link {
    margin-top: 1.8em;
}

.back-link a {
    color: #117C47;
    text-decoration: none;
    font-weight: 500;
    font-size: 1em;
    transition: color 0.2s;
}

.back-link a:hover {
    color: #FFD600;
}

@media (max-width: 600px) {
    .register-card {
        padding: 1.2rem 0.8rem 1.1rem 0.8rem;
    }
    .register-card h1 {
        font-size: 1.3rem;
    }
}

/* login */

/* static/styles/repairer_login.css */

.login-container {
    max-width: 380px;
    margin: 60px auto 0 auto;
    background: #fff;
    border-radius: 14px;
    box-shadow: 0 4px 18px 0 rgba(23, 46, 99, 0.11);
    padding: 2.5rem 2.5rem 2rem 2.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    min-height: 350px;
    margin-bottom: 2.5rem;
}

.login-container h1 {
    font-size: 2rem;
    color: #132E63;
    font-weight: 700;
    margin-bottom: 1.8rem;
    letter-spacing: 0.02em;
}

.login-form {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 1.1rem;
    margin-bottom: 2rem !important;
}

.form-row {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.form-row label {
    font-size: 1rem;
    color: #2d3b56;
    font-weight: 500;
}

.form-row input[type="email"],
.form-row input[type="password"] {
    padding: 0.7rem 1rem;
    border: 1px solid #e1e6f3;
    border-radius: 8px;
    background: #f9fafb;
    font-size: 1rem;
    transition: border 0.2s;
}

.form-row input:focus {
    outline: none;
    border: 1.5px solid #2780f5;
    background: #fff;
}

.login-btn {
    background: #2780f5;
    color: #fff;
    font-size: 1.15rem;
    font-weight: 600;
    border: none;
    border-radius: 8px;
    padding: 0.85rem 0;
    margin-top: 0.5rem;
    cursor: pointer;
    transition: background 0.18s;
    box-shadow: 0 1px 6px 0 rgba(39,128,245,0.10);
}

.login-btn:hover {
    background: #1859b7;
}

.flash-messages {
    margin-top: 1.2rem;
    width: 100%;
}

.flash {
    padding: 0.65rem 1rem;
    border-radius: 7px;
    font-size: 1rem;
    margin-bottom: 0.7rem;
}

.flash.success {
    background: #eafbf3;
    color: #117C47;
    border: 1px solid #b4eac7;
}

.flash.danger {
    background: #fbeaea;
    color: #be1b22;
    border: 1px solid #f3c4c6;
}

@media (max-width: 500px) {
    .login-container {
        padding: 1.2rem 0.7rem;
    }
    .login-form {
        gap: 0.7rem;
    }
}
