/* css/style.css */
body {
    font-family: sans-serif;
    background-color: #f4f4f4;
    margin: 0;
    padding: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
}

.container {
    background-color: #fff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    width: 100%;
    max-width: 400px;
    text-align: center;
}

h1, h2 {
    color: #333;
    margin-bottom: 20px;
}

.form-group {
    margin-bottom: 15px;
    text-align: left;
}

label {
    display: block;
    margin-bottom: 5px;
    color: #555;
    font-weight: bold;
}

input[type="email"],
input[type="password"],
input[type="text"],
input[type="tel"],
input[type="date"],
select {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-sizing: border-box; /* Include padding in width */
}

button {
    background-color: #5c67f2;
    color: white;
    padding: 12px 20px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 16px;
    width: 100%;
    margin-top: 10px;
    transition: background-color 0.3s ease;
}

button:hover {
    background-color: #4a54c4;
}

button:disabled {
    background-color: #cccccc;
    cursor: not-allowed;
}

.links {
    margin-top: 20px;
    font-size: 14px;
}

.links a {
    color: #5c67f2;
    text-decoration: none;
    margin: 0 5px;
}

.links a:hover {
    text-decoration: underline;
}

.error-message, .success-message, .info-message {
    color: red;
    background-color: #fdd;
    border: 1px solid red;
    padding: 10px;
    margin-top: 15px;
    border-radius: 4px;
    font-size: 14px;
    display: none; /* Hidden by default */
    text-align: left;
}

.success-message {
    color: green;
    background-color: #dfd;
    border: 1px solid green;
}

.info-message {
    color: #333;
    background-color: #eee;
    border: 1px solid #ccc;
}

/* Skills Input */
.skills-container {
    border: 1px solid #ccc;
    border-radius: 4px;
    padding: 5px;
    min-height: 40px; /* Same height as input */
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
    align-items: center;
}

.skill-pill {
    background-color: #e0e0e0;
    border-radius: 12px;
    padding: 3px 8px;
    font-size: 13px;
    display: inline-flex;
    align-items: center;
    margin: 2px;
}

.skill-pill .remove-skill {
    margin-left: 5px;
    cursor: pointer;
    font-weight: bold;
    color: #777;
}
.skill-pill .remove-skill:hover {
    color: #333;
}

#skills { /* The actual input */
    border: none;
    outline: none;
    flex-grow: 1;
    padding: 5px;
    min-width: 100px; /* Allow shrinking but not too small */
}