/* Apply globally to prevent padding from blowing up element sizes */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: Arial, sans-serif;
    background: #2563eb;
    padding: 40px 0; /* Gives top and bottom breathing room */
}

/* The Wrapper that forces a neat, tight vertical stack */
.portal-wrapper {
    width: 600px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 20px; /* This explicitly controls the gap between instructions and login */
}

/* Instructions Layout */
.instruction-container {
    display: flex;
    gap: 20px;
}

.instruction-box {
    flex: 1;
    background: white;
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
}

.instruction-box.orange-shadow {
    box-shadow: 0 0 10px rgba(233, 109, 8, 0.1);
}

.instruction-box h3 {
    margin-bottom: 10px;
    font-size: 16px;
    color: #333;
}

.instruction-box p {
    font-size: 14px;
    line-height: 1.6;
    color: #555;
}

/* Login Form Layout */
.main-box {
    background: white;
    border-radius: 15px;
    box-shadow: 0 0 20px rgba(0,0,0,0.2);
    width: 100%;
    padding: 40px; /* Consistent padding around the form */
}

h2 {
    text-align: center;
    margin-bottom: 30px;
    color: #1e3c72;
}

input {
    width: 100%;
    padding: 12px;
    margin-bottom: 15px;
    border-radius: 8px;
    border: 1px solid #ccc;
    font-size: 14px;
}

button {
    width: 100%;
    padding: 12px;
    border: none;
    border-radius: 8px;
    background: #2563eb;
    color: white;
    font-size: 16px;
    cursor: pointer;
    font-weight: bold;
}

button:hover {
    background: #16325c;
}

.message {
    text-align: center;
    color: green;
    font-weight: bold;
    margin-top: 15px;
}

.error {
    text-align: center;
    color: red;
    font-weight: bold;
    margin-top: 15px;
}