/**
 * Signup Page Styles
 * Matches the myPublisher homepage design language:
 * Courier Prime, warm #FEFBF9 background, black buttons.
 */

.mypub-signup-wrap {
    max-width: 560px;
    margin-left: auto !important;
    margin-right: auto !important;
    margin-top: 0;
    margin-bottom: 0;
    padding: 100px 0 120px;
    min-height: calc(100vh - 66px - 80px);
    font-family: 'Courier Prime', 'Courier New', Courier, monospace;
}

.mypub-signup-heading {
    font-family: 'Courier Prime', 'Courier New', Courier, monospace;
    font-weight: 700;
    font-size: 42px;
    line-height: 1.2;
    margin: 0 0 12px;
    color: #000;
}

.mypub-signup-intro {
    font-family: 'Courier Prime', 'Courier New', Courier, monospace;
    font-size: 16px;
    line-height: 24px;
    color: #000;
    margin: 0 0 40px;
}

.mypub-signup-errors {
    color: #b32d2e;
    margin-bottom: 1.5em;
    font-family: 'Courier Prime', 'Courier New', Courier, monospace;
    font-size: 14px;
    line-height: 1.6;
    padding: 14px 18px;
    border: 2px solid #b32d2e;
    background: #fef2f2;
}

.mypub-signup-errors p {
    margin: 0 0 0.25em;
}

.mypub-signup-errors p:last-child {
    margin-bottom: 0;
}

/* Login error — below fields, above button */
.mypub-login-error {
    font-family: 'Courier Prime', 'Courier New', Courier, monospace !important;
    font-size: 16px !important;
    line-height: 1.6 !important;
    color: #b32d2e !important;
    background: #fce4e4 !important;
    border: 2px solid #b32d2e !important;
    padding: 14px 18px !important;
    margin-bottom: 24px !important;
}

.mypub-login-error p {
    margin: 0 !important;
    color: #b32d2e !important;
}

/* Two-column side-by-side fields */
.mypub-signup-fields {
    display: flex;
    gap: 16px;
    margin-bottom: 24px;
}

.mypub-signup-field {
    flex: 1;
}

.mypub-signup-field input {
    width: 100% !important;
    font-family: 'Courier Prime', 'Courier New', Courier, monospace !important;
    font-size: 16px !important;
    padding: 14px 16px !important;
    border: 2px solid #000 !important;
    border-radius: 0 !important;
    background: #fff !important;
    color: #000 !important;
    outline: none;
    -webkit-appearance: none;
    appearance: none;
    box-sizing: border-box;
}

.mypub-signup-field input::placeholder {
    color: #000;
    opacity: 1;
}

.mypub-signup-field input:focus {
    border-color: #000;
    box-shadow: 0 0 0 1px #000;
}

.mypub-signup-btn {
    font-family: 'Courier Prime', 'Courier New', Courier, monospace !important;
    font-size: 16px !important;
    font-weight: 700 !important;
    letter-spacing: 0.05em !important;
    padding: 18px 48px !important;
    background: #000 !important;
    color: #fff !important;
    border: 2px solid #000 !important;
    cursor: pointer;
    -webkit-appearance: none;
    appearance: none;
    border-radius: 0 !important;
    margin-bottom: 28px;
    display: inline-block;
    text-decoration: none !important;
    line-height: normal !important;
}

.mypub-signup-btn:hover {
    background: #222;
}

.mypub-signup-note {
    font-family: 'Courier Prime', 'Courier New', Courier, monospace;
    font-size: 14px;
    color: #000;
    line-height: 1.7;
    margin: 0;
}

.mypub-signup-note a {
    color: #000;
    text-decoration: underline;
    font-family: 'Courier Prime', 'Courier New', Courier, monospace;
}

.mypub-signup-note a:hover {
    color: #444;
}

/* Success state */
.mypub-signup-success {
    max-width: 560px;
    margin: 60px auto;
    padding: 1.25em 1.5em;
    background: #d4edda;
    border: 1px solid #28a745;
    border-radius: 4px;
    font-family: 'Courier Prime', 'Courier New', Courier, monospace;
}

/* Tablet */
@media (max-width: 768px) {
    .mypub-signup-wrap {
        padding: 40px 0 60px;
    }

    .mypub-signup-heading {
        font-size: 32px;
    }

    .mypub-signup-intro {
        margin-bottom: 32px;
    }
}

/* Mobile */
@media (max-width: 480px) {
    .mypub-signup-wrap {
        padding: 32px 0 48px;
    }

    .mypub-signup-heading {
        font-size: 28px;
    }

    .mypub-signup-fields {
        flex-direction: column;
    }

    .mypub-signup-btn {
        width: 100%;
        text-align: center;
    }
}
