/* /opt/ci/services/api_gateway/public/style.css */
body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
    margin: 0;
    padding: 20px;
    background-color: #f0f2f5;
    color: #333;
    display: flex;
    flex-direction: column; /* Allow header/footer if added */
    align-items: center;
    min-height: 95vh;
    box-sizing: border-box;
}

.container {
    background-color: #fff;
    padding: 25px 35px;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    width: 100%;
    max-width: 420px;
    margin-top: 30px;
}

h1 {
    text-align: center;
    color: #1c1e21; /* Darker color for heading */
    margin-bottom: 25px;
    font-size: 24px;
    font-weight: 600;
}

label {
    display: block;
    margin-bottom: 6px;
    font-weight: 500;
    font-size: 14px;
    color: #4b4f56;
}

input[type="email"],
input[type="password"],
input[type="text"] {
    width: 100%; /* Full width relative to padding */
    padding: 12px 15px;
    margin-bottom: 18px;
    border: 1px solid #ccd0d5;
    border-radius: 6px;
    box-sizing: border-box; /* Include padding and border in the element's total width and height */
    font-size: 16px;
    transition: border-color 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
}

input[type="email"]:focus,
input[type="password"]:focus,
input[type="text"]:focus {
    border-color: #007bff;
    box-shadow: 0 0 0 0.2rem rgba(0,123,255,.25);
    outline: none;
}

button[type="submit"] {
    width: 100%;
    padding: 12px 15px;
    background-color: #007bff;
    color: white;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-size: 16px;
    font-weight: 600;
    transition: background-color 0.2s ease-in-out;
}

button[type="submit"]:hover {
    background-color: #0056b3;
}

#message {
    margin-top: 18px;
    padding: 12px;
    border-radius: 6px;
    text-align: center;
    font-size: 14px;
    border-width: 1px;
    border-style: solid;
}

#message.success {
    background-color: #d4edda;
    color: #155724;
    border-color: #c3e6cb;
}

#message.error {
    background-color: #f8d7da;
    color: #721c24;
    border-color: #f5c6cb;
}
#message.info {
    background-color: #d1ecf1;
    color: #0c5460;
    border-color: #bee5eb;
}


p {
    text-align: center;
    margin-top: 18px;
    font-size: 14px;
    color: #4b4f56;
}

a {
    color: #007bff;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

/* For user profile display on other pages */
#userProfile {
    margin: 20px;
    padding: 10px;
    background-color: #e9ecef;
    border-radius: 5px;
    text-align: center;
}

