body {
    font-family: Arial, sans-serif;
    background-color: #f4f4f4;
    color: #333;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    margin: 0;
}

.container {
    text-align: center;
    background: white;
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    max-width: 600px;
    width: 100%;
}

header .logo {
    width: 150px;
    margin-bottom: 20px;
}

header h1 {
    font-size: 2.5em;
    margin-bottom: 10px;
}

header p {
    font-size: 1.2em;
    color: #666;
    margin-bottom: 30px;
}

.search-container {
    display: flex;
    margin-bottom: 20px;
}

#group-search {
    flex-grow: 1;
    padding: 10px;
    font-size: 1em;
    border: 1px solid #ccc;
    border-radius: 4px 0 0 4px;
}

#search-btn {
    padding: 10px 20px;
    font-size: 1em;
    border: none;
    background-color: #007bff;
    color: white;
    cursor: pointer;
    border-radius: 0 4px 4px 0;
}

#search-btn:hover {
    background-color: #0056b3;
}

#group-list {
    text-align: left;
    margin-bottom: 30px;
}

.create-container p {
    margin-bottom: 10px;
}

.btn-create {
    display: inline-block;
    padding: 12px 25px;
    background-color: #28a745;
    color: white;
    text-decoration: none;
    border-radius: 4px;
    font-size: 1.1em;
}

.btn-create:hover {
    background-color: #218838;
}

.group-item {
    padding: 10px;
    border-bottom: 1px solid #eee;
}

.group-item:last-child {
    border-bottom: none;
}

.group-item h3 {
    margin: 0 0 5px 0;
}

.group-item h3 a {
    text-decoration: none;
    color: #007bff;
}

.group-item p {
    margin: 0;
    color: #555;
    font-size: 0.9em;
}

#form-message {
    margin-top: 15px;
    padding: 10px;
    border-radius: 4px;
    display: none; /* Hidden by default */
}

#form-message.success {
    background-color: #d4edda;
    color: #155724;
    display: block;
}

#form-message.error {
    background-color: #f8d7da;
    color: #721c24;
    display: block;
}

.form-group {
    margin-bottom: 20px;
    text-align: left;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
}

.form-group input {
    width: 100%;
    padding: 10px;
    font-size: 1em;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-sizing: border-box;
}

.form-group small {
    display: block;
    margin-top: 5px;
    color: #6c757d;
} 