* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Arial', sans-serif;
}

body {
    background-color: #f5f5f5;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    padding: 20px;
}

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

h1 {
    color: #2c3e50;
    margin-bottom: 30px;
}

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

#matricola-input {
    flex: 1;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 4px 0 0 4px;
    font-size: 16px;
}

#search-button {
    padding: 12px 20px;
    background-color: #ae1414;
    color: white;
    border: none;
    border-radius: 0 4px 4px 0;
    cursor: pointer;
    font-size: 16px;
    transition: background-color 0.3s;
}

#search-button:hover {
    background-color: #e83131;
}

.result-container {
    margin-top: 20px;
}

#result-box {
    padding: 20px;
    border-radius: 4px;
    background-color: #f8f9fa;
    border: 1px solid #e9ecef;
}

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

#result-box.error {
    background-color: #f8d7da;
    border-color: #f5c6cb;
    color: #721c24;
}

#result-message {
    font-size: 18px;
}

@media (max-width: 480px) {
    .search-container {
        flex-direction: column;
    }
    
    #matricola-input {
        border-radius: 4px;
        margin-bottom: 10px;
    }
    
    #search-button {
        border-radius: 4px;
    }
}