body{
    min-width: 830px;
}

.success-message,
.error-message {
    padding: 10px 15px;
    margin-bottom: 15px; 
    margin-top: 5px;
    border-radius: 4px;
    font-size: 14px;
    text-align: left;
    border: 1px solid transparent;
}

.error-message {
    color: #e74c3c;
    background-color: #fbeae5; 
    border-color: #e74c3c; 
}

.modal-overlay {
    display: none; 
    position: fixed; /* Lifts the element out of the document flow */
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    z-index: 1000; /* Ensures it's on top of other content */
}

/* This rule positions the modal itself */
.modal {
    display: none; 
    position: fixed; /* Lifts the element out of the document flow */
    top: 50%;       /* Moves the top edge to the middle of the screen */
    left: 50%;      /* Moves the left edge to the middle of the screen */
    transform: translate(-50%, -50%); /* Shifts the modal back by half its own width and height to perfectly center it */
    background-color: #fff;
    padding: 25px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    z-index: 1001; /* Ensures it's on top of the overlay */
    width: 90%;
    max-width: 450px;
    text-align: center;
    height: auto;
}

.modal-header h2 {
    margin-top: 0;
    color: #333;
}

.modal-body p {
    font-size: 1rem;
    color: #555;
    line-height: 1.5;
}

.modal-footer {
    margin-top: 20px;
}

.create-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    background-color: #0a1e45;
    padding: 20px;
}

.create-form {
    background-color: white;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    width: 100%;
    max-width: 400px;
}

.create-header {
    text-align: center;
    margin-bottom: 30px;
}

.create-header h1 {
    color: #333;
    font-size: 24px;
    font-weight: 600;
}

.form-field {
    margin-bottom: 20px;
}

.form-field label {
    display: block;
    font-size: 14px;
    color: #555;
    margin-bottom: 8px;
}

.form-field input {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
    transition: border-color 0.3s;
}

.form-field input:focus {
    outline: none;
    border-color: #4285f4;
}

.form-row {
    display: flex;
    gap: 15px;
}

.form-row .form-group {
    flex: 1;
}

.create-button {
    width: 100%;
    padding: 12px;
    margin-bottom: 10px;
    background-color: #087aa8;
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 500;
    text-align: center;
    cursor: pointer;
    transition: background-color 0.3s;
}

.create-button:hover {
    background-color: #00bfe6;
}

.create-footer {
    text-align: center;
    margin-top: 20px;
}

.create-footer a {
    color: #4285f4;
    text-decoration: none;
    font-size: 14px;
}

.create-footer a:hover {
    text-decoration: underline;
}