/* 
 * components.css
 * 
 * Reusable UI elements shared across the site: buttons, cards, badges,
 * alerts, navigation tweaks, widgets, and any styled component that appears
 * in multiple places.
 * 
 * Does NOT include page layout, global typography, or form-specific rules.
 */
 
 /***** Registration Message Styling******/
 /* Base message box */
/* -----------------------------------------
   Welnest Message Components
------------------------------------------ */

.welnest-message {
    padding: 1.5rem;
    border-radius: 8px;
    margin: 1.5rem 0;
    font-family: inherit;
    border: 1px solid transparent;
    box-shadow: 0 2px 6px rgba(0,0,0,0.06);
}

.welnest-message h2 {
    margin-top: 0;
    font-size: 1.4rem;
    font-weight: 600;
}

.welnest-message p {
    margin: 0.5rem 0;
    line-height: 1.5;
}

/* Success */
.welnest-message.success {
    background: #e8f8f0;
    border-color: #2e9f6b;
    color: #1f6f4a;
}

/* Error */
.welnest-message.error {
    background: #fdeeee;
    border-color: #d64545;
    color: #8a1f1f;
}

.welnest-message a {
    color: inherit;
    text-decoration: underline;
    font-weight: 600;
}

/* -----------------------------------------
   Welnest Registration Form
------------------------------------------ */

.welnest-form {
    max-width: 480px;
    padding: 2rem;
    background: #ffffff;
    border-radius: 10px;
    border: 1px solid #e5e5e5;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.welnest-form label {
    display: block;
    margin-bottom: 0.4rem;
    font-weight: 600;
}

.welnest-form input[type="text"],
.welnest-form input[type="email"],
.welnest-form input[type="password"] {
    width: 100%;
    padding: 0.75rem;
    border-radius: 6px;
    border: 1px solid #ccc;
    margin-bottom: 1.2rem;
    font-size: 1rem;
}

.welnest-form input:focus {
    border-color: #4a8ef0;
    outline: none;
    box-shadow: 0 0 0 2px rgba(74, 142, 240, 0.2);
}

.welnest-form button[type="submit"] {
    width: 100%;
    padding: 0.9rem;
    background: #4a8ef0;
    color: #fff;
    border: none;
    border-radius: 6px;
    font-size: 1.1rem;
    cursor: pointer;
    transition: background 0.2s ease;
}

.welnest-form button[type="submit"]:hover {
    background: #3a78d0;
}

/* Position the honeypot field off screen */
.welnest-honeypot {
    position: absolute;
    left: -9999px;
    top: -9999px;
    overflow: hidden;
    height: 0;
    width: 0;
}

/* -----------------------------------------
   Welnest Login Form
------------------------------------------ */

/* Put email + password on the same line */
.welnest-form-row {
    display: flex;
    gap: 1rem;
}

/* Make each field share the row evenly */
.welnest-form-row .welnest-field {
    flex: 1;
    margin-bottom: 1rem; /* reduce vertical space */
}

/* Reduce vertical padding to tighten the form */
.welnest-input {
    padding: 0.5rem 0.75rem;
}

